Przeglądaj źródła

Moar docs corrections.

Piotrek Koszuliński 9 lat temu
rodzic
commit
7c3fd50bd2

+ 4 - 1
packages/ckeditor5-undo/src/undo.js

@@ -18,6 +18,9 @@ import ButtonView from '../ui/button/buttonview.js';
  * @extends ckeditor5.Feature
  */
 export default class Undo extends Feature {
+	/**
+	 * @inheritDoc
+	 */
 	static get requires() {
 		return [ UndoEngine ];
 	}
@@ -38,7 +41,7 @@ export default class Undo extends Feature {
 	}
 
 	/**
-	 * Creates a button for a specified command.
+	 * Creates a button for the specified command.
 	 *
 	 * @private
 	 * @param {String} name Command name.

+ 6 - 1
packages/ckeditor5-undo/src/undoengine.js

@@ -11,11 +11,16 @@ import UndoCommand from './undocommand.js';
 /**
  * Undo engine feature.
  *
- * Undo features brings in possibility to undo and re-do changes done in Tree Model by deltas through Batch API.
+ * Undo brings in possibility to undo and redo changes done in the model by deltas through
+ * the {@link engine.model.Document#batch Batch API}.
  *
  * @memberOf undo
+ * @extends ckeditor5.Feature
  */
 export default class UndoEngine extends Feature {
+	/**
+	 * @inheritDoc
+	 */
 	constructor( editor ) {
 		super( editor );