diff --git a/src/editor/editor.js b/src/editor/editor.js index 9a5d6015..34fc1ea7 100644 --- a/src/editor/editor.js +++ b/src/editor/editor.js @@ -55,7 +55,7 @@ export default class Editor { * @readonly * @type {module:core/context~Context} */ - this.context = config.context || new Context(); + this.context = config.context || new Context( config ); this.context.addEditor( this ); /** @@ -79,7 +79,9 @@ export default class Editor { */ this.config = new Config( config, this.constructor.defaultConfig ); this.config.define( 'plugins', availablePlugins ); - this.config.define( this.context.getEditorConfig() ); + if ( !this._isContextHost ) { + this.config.define( this.context.getEditorConfig() ); + } /** * The plugins loaded and in use by this editor instance.