1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

Improve position of WYSIWYG editor toolbar

This commit is contained in:
sauls8t 2018-02-08 12:12:27 +00:00
parent 1ef8807b2d
commit 8f0440d55f
3 changed files with 7 additions and 6 deletions

View file

@ -23,6 +23,10 @@ export default Component.extend({
let page = this.get('page');
return `wysiwyg-editor-${page.id}`;
}),
toolbarId: computed('page', function () {
let page = this.get('page');
return `wysiwyg-editor-toolbar-${page.id}`;
}),
didReceiveAttrs() {
this._super(...arguments);
@ -41,7 +45,7 @@ export default Component.extend({
gecko_spellcheck: false,
statusbar: false,
inline: true,
// fixed_toolbar_container: '#mytoolbar',
// fixed_toolbar_container: '#' + this.get('toolbarId'),
paste_data_images: true,
image_advtab: true,
image_caption: true,