diff --git a/gui/app/components/section/wysiwyg/type-editor.js b/gui/app/components/section/wysiwyg/type-editor.js index c0451cb5..d00b40d3 100644 --- a/gui/app/components/section/wysiwyg/type-editor.js +++ b/gui/app/components/section/wysiwyg/type-editor.js @@ -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, diff --git a/gui/app/templates/components/section/base-editor-inline.hbs b/gui/app/templates/components/section/base-editor-inline.hbs index e0f9b079..be607498 100644 --- a/gui/app/templates/components/section/base-editor-inline.hbs +++ b/gui/app/templates/components/section/base-editor-inline.hbs @@ -1,5 +1,4 @@
-
{{#if blockMode}} @@ -15,7 +14,6 @@
{{/if}}
-
{{#if busy}} @@ -35,15 +33,13 @@
-
-
+
{{yield}}
-