Parcourir la source

Minor corrections in API docs and tests.

Piotrek Koszuliński il y a 9 ans
Parent
commit
beec13fc04

+ 2 - 0
packages/ckeditor5-editor-classic/src/classiceditorui.js

@@ -72,6 +72,7 @@ export default class ClassicEditorUI extends BoxedEditorUI {
 	 * Creates editor sticky toolbar.
 	 *
 	 * @protected
+	 * @returns {ui.toolbar.Toolbar}
 	 */
 	_createToolbar() {
 		const editor = this.editor;
@@ -91,6 +92,7 @@ export default class ClassicEditorUI extends BoxedEditorUI {
 	 * Creates editor main editable.
 	 *
 	 * @protected
+	 * @returns {ui.editableUI.EditableUI}
 	 */
 	_createEditableUI() {
 		const editor = this.editor;

+ 2 - 2
packages/ckeditor5-editor-classic/tests/manual/classic.md

@@ -4,7 +4,7 @@
 2. Expected:
   * Framed editor should be created.
   * Original element should disappear.
-  * There should be a toolbar with "Bold" and "Italic" buttons.
+  * There should be a toolbar with "Bold", "Italic", "Undo" and "Redo" buttons.
 3. Click "Destroy editor".
 4. Expected:
   * Editor should be destroyed.
@@ -17,5 +17,5 @@
 * You can play with:
   * `editable.isReadOnly`,
 * Changes to `editable.isFocused` should be logged to the console.
-* Clicks on the buttons should be logged to the console.
+* Features should work.