8
0
Quellcode durchsuchen

API docs fixes.

Maciek vor 9 Jahren
Ursprung
Commit
e6e13e53cb

+ 3 - 3
packages/ckeditor5-enter/src/entercommand.js

@@ -11,7 +11,7 @@ import Command from '../core/command/command.js';
 import Position from '../engine/model/position.js';
 
 /**
- * Enter command. It is used by the {@link enter.Enter Enter feature} to handle the <kbd>Enter</kbd> key.
+ * Enter command. It is used by the {@link module:enter/enter~Enter Enter feature} to handle the <kbd>Enter</kbd> key.
  *
  * @extends modue:core/command/command~Command
  */
@@ -34,8 +34,8 @@ export default class EnterCommand extends Command {
 // Creates a new block in the way that the <kbd>Enter</kbd> key is expected to work.
 //
 // @param {engine.controller.DataController} dataController
-// @param {engine.model.Batch} batch A batch to which the deltas will be added.
-// @param {engine.model.Selection} selection Selection on which the action should be performed.
+// @param {module:engine/model/batch~Batch} batch A batch to which the deltas will be added.
+// @param {module:engine/model/selection~Selection} selection Selection on which the action should be performed.
 function enterBlock( dataController, batch, selection ) {
 	const isSelectionEmpty = selection.isCollapsed;
 	const range = selection.getFirstRange();

+ 2 - 2
packages/ckeditor5-enter/src/enterobserver.js

@@ -36,8 +36,8 @@ export default class EnterObserver extends Observer {
 /**
  * Event fired when the user presses the <kbd>Enter</kbd> key.
  *
- * Note: This event is fired by the {@link enter.EnterObserver observer}
- * (usually registered by the {@link enter.Enter Enter feature}).
+ * Note: This event is fired by the {@link module:enter/enterobserver~EnterObserver observer}
+ * (usually registered by the {@link module:enter/enter~Enter Enter feature}).
  *
  * @event module:engine/view/document~Document#event:enter
  * @param {module:engine/view/observer/domeventdata~DomEventData} data