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

Docs: Added missing comment to custom ui sample. [skip ci]

Krzysztof Krztoń пре 7 година
родитељ
комит
6a72b170fe

+ 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;
 	}