浏览代码

Docs: Improved links between API and guides. See ckeditor/ckeditor5#1090.

Piotrek Koszuliński 7 年之前
父节点
当前提交
3bcf2cab69

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

@@ -14,7 +14,7 @@ import UndoUI from './undoui';
 /**
  * The undo feature.
  *
- * It loads the {@link module:undo/undoediting~UndoEditing undo editing feature}
+ * This is a "glue" plugin which loads the {@link module:undo/undoediting~UndoEditing undo editing feature}
  * and {@link module:undo/undoui~UndoUI undo UI feature}.
  *
  * Below is the explanation of the undo mechanism working together with {@link module:engine/model/history~History History}:

+ 1 - 2
packages/ckeditor5-undo/src/undoediting.js

@@ -14,8 +14,7 @@ import RedoCommand from './redocommand';
 /**
  * The undo engine feature.
  *
- * Undo brings in possibility to undo and redo changes done in the model by operations through
- * the {@link module:engine/model/writer~Writer Writer API}.
+ * It introduces the `'undo'` and `'redo'` commands to the editor.
  *
  * @extends module:core/plugin~Plugin
  */

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

@@ -14,7 +14,7 @@ import undoIcon from '../theme/icons/undo.svg';
 import redoIcon from '../theme/icons/redo.svg';
 
 /**
- * The undo UI feature. It introduces the Undo and Redo buttons to the editor.
+ * The undo UI feature. It introduces the `'undo'` and `'redo'` buttons to the editor.
  *
  * @extends module:core/plugin~Plugin
  */