diff --git a/src/decouplededitorui.js b/src/decouplededitorui.js index be6d13f..8778067 100644 --- a/src/decouplededitorui.js +++ b/src/decouplededitorui.js @@ -30,10 +30,10 @@ export default class DecoupledEditorUI extends EditorUI { /** * The main (top–most) view of the editor UI. * - * @private - * @member {module:ui/editorui/editoruiview~EditorUIView} #_view + * @readonly + * @member {module:ui/editorui/editoruiview~EditorUIView} #view */ - this._view = view; + this.view = view; /** * A normalized `config.toolbar` object. @@ -44,16 +44,6 @@ export default class DecoupledEditorUI extends EditorUI { this._toolbarConfig = normalizeToolbarConfig( editor.config.get( 'toolbar' ) ); } - /** - * The main (top–most) view of the editor UI. - * - * @readonly - * @member {module:ui/editorui/editoruiview~EditorUIView} #view - */ - get view() { - return this._view; - } - /** * Initializes the UI. */