Explorar o código

API docs for BoxedEditorUI#width|height.

Piotrek Koszuliński %!s(int64=9) %!d(string=hai) anos
pai
achega
4a1535445b
Modificáronse 1 ficheiros con 8 adicións e 2 borrados
  1. 8 2
      packages/ckeditor5-ui/src/boxededitorui/boxededitorui.js

+ 8 - 2
packages/ckeditor5-ui/src/boxededitorui/boxededitorui.js

@@ -18,15 +18,21 @@ export default class BoxedEditorUI extends EditorUI {
 		const config = editor.config;
 
 		/**
-		 * TODO: Handle editor resizing.
+		 * The editor's width. Defaults to {@link ckeditor5.editor.config.ui.width}.
 		 *
+		 * Note: a specific creator that was used must support this setting.
+		 *
+		 * @observable
 		 * @property {Number} width
 		 */
 		this.set( 'width', config.get( 'ui.width' ) );
 
 		/**
-		 * TODO: Handle editor resizing.
+		 * The editor's height. Defaults to {@link ckeditor5.editor.config.ui.height}.
+		 *
+		 * Note: a specific creator that was used must support this setting.
 		 *
+		 * @observable
 		 * @property {Number} height
 		 */
 		this.set( 'height', config.get( 'ui.height' ) );