8
0
Просмотр исходного кода

Merge pull request #462 from ckeditor/t/ckeditor5/1449-docs

Docs: Added missing comment to custom ui sample.
Piotr Jasiun 7 лет назад
Родитель
Сommit
027bd51a74

+ 2 - 0
packages/ckeditor5-ui/docs/_snippets/examples/bootstrap-ui-inner.js

@@ -132,6 +132,8 @@ class BootstrapEditorUI extends EditorUI {
 		} );
 	}
 
+	// All EditorUI subclasses should expose their view instance
+	// so other UI classes can access it if necessary.
 	get view() {
 		return this._view;
 	}

+ 2 - 0
packages/ckeditor5-ui/docs/framework/guides/external-ui.md

@@ -267,6 +267,8 @@ class BootstrapEditorUI extends EditorUI {
 		} );
 	}
 
+	// All EditorUI subclasses should expose their view instance
+	// so other UI classes can access it if necessary.
 	get view() {
 		return this._view;
 	}