Преглед изворни кода

Merge branch 'master' into t/ckeditor5/479

Aleksander Nowodzinski пре 7 година
родитељ
комит
aa5e751227
1 измењених фајлова са 3 додато и 13 уклоњено
  1. 3 13
      packages/ckeditor5-editor-decoupled/src/decouplededitorui.js

+ 3 - 13
packages/ckeditor5-editor-decoupled/src/decouplededitorui.js

@@ -30,10 +30,10 @@ export default class DecoupledEditorUI extends EditorUI {
 		/**
 		/**
 		 * The main (top–most) view of the editor UI.
 		 * 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.
 		 * A normalized `config.toolbar` object.
@@ -44,16 +44,6 @@ export default class DecoupledEditorUI extends EditorUI {
 		this._toolbarConfig = normalizeToolbarConfig( editor.config.get( 'toolbar' ) );
 		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.
 	 * Initializes the UI.
 	 */
 	 */