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:
parent
1ef8807b2d
commit
8f0440d55f
3 changed files with 7 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue