Browse Source

Merge branch 'master' into t/ckeditor5/479

Aleksander Nowodzinski 7 years ago
parent
commit
5308636511
1 changed files with 3 additions and 13 deletions
  1. 3 13
      packages/ckeditor5-editor-classic/src/classiceditorui.js

+ 3 - 13
packages/ckeditor5-editor-classic/src/classiceditorui.js

@@ -31,10 +31,10 @@ export default class ClassicEditorUI 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.
@@ -53,16 +53,6 @@ export default class ClassicEditorUI extends EditorUI {
 		this._elementReplacer = new ElementReplacer();
 	}
 
-	/**
-	 * The main (top–most) view of the editor UI.
-	 *
-	 * @readonly
-	 * @member {module:ui/editorui/editoruiview~EditorUIView} #view
-	 */
-	get view() {
-		return this._view;
-	}
-
 	/**
 	 * @inheritDoc
 	 */