浏览代码

Docs: Fixed @link usage. [skip ci]

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

+ 1 - 1
packages/ckeditor5-engine/src/controller/datacontroller.js

@@ -253,7 +253,7 @@ export default class DataController {
 	/**
 	 * Returns the result of the given {@link module:engine/view/element~Element view element} or
 	 * {@link module:engine/view/documentfragment~DocumentFragment view document fragment} converted by the
-	 * {@link #upcastDispatcher view-to-model converters}, wrapped by {module:engine/model/documentfragment~DocumentFragment}.
+	 * {@link #upcastDispatcher view-to-model converters}, wrapped by {@link module:engine/model/documentfragment~DocumentFragment}.
 	 *
 	 * When marker elements were converted during the conversion process, it will be set as a document fragment's
 	 * {@link module:engine/model/documentfragment~DocumentFragment#markers static markers map}.

+ 1 - 1
packages/ckeditor5-engine/src/model/documentfragment.js

@@ -76,7 +76,7 @@ export default class DocumentFragment {
 	}
 
 	/**
-	 * Sum of {module:engine/model/node~Node#offsetSize offset sizes} of all of this document fragment's children.
+	 * Sum of {@link module:engine/model/node~Node#offsetSize offset sizes} of all of this document fragment's children.
 	 *
 	 * @readonly
 	 * @type {Number}

+ 1 - 1
packages/ckeditor5-engine/src/model/element.js

@@ -69,7 +69,7 @@ export default class Element extends Node {
 	}
 
 	/**
-	 * Sum of {module:engine/model/node~Node#offsetSize offset sizes} of all of this element's children.
+	 * Sum of {@link module:engine/model/node~Node#offsetSize offset sizes} of all of this element's children.
 	 *
 	 * @readonly
 	 * @type {Number}

+ 1 - 1
packages/ckeditor5-engine/src/view/document.js

@@ -32,7 +32,7 @@ export default class Document {
 		this.selection = new DocumentSelection();
 
 		/**
-		 * Roots of the view tree. Collection of the {module:engine/view/element~Element view elements}.
+		 * Roots of the view tree. Collection of the {@link module:engine/view/element~Element view elements}.
 		 *
 		 * View roots are created as a result of binding between {@link module:engine/view/document~Document#roots} and
 		 * {@link module:engine/model/document~Document#roots} and this is handled by

+ 1 - 1
packages/ckeditor5-engine/src/view/editableelement.js

@@ -18,7 +18,7 @@ const documentSymbol = Symbol( 'document' );
  * Editable element which can be a {@link module:engine/view/rooteditableelement~RootEditableElement root}
  * or nested editable area in the editor.
  *
- * Editable is automatically read-only when its {module:engine/view/document~Document Document} is read-only.
+ * Editable is automatically read-only when its {@link module:engine/view/document~Document Document} is read-only.
  *
  * @extends module:engine/view/containerelement~ContainerElement
  * @mixes module:utils/observablemixin~ObservableMixin

+ 1 - 1
packages/ckeditor5-engine/src/view/item.jsdoc

@@ -8,7 +8,7 @@
  */
 
 /**
- * Item is a {@link module:engine/view/node~Node Node} or {module:engine/view/textproxy~TextProxy TextProxy}.
+ * Item is a {@link module:engine/view/node~Node Node} or {@link module:engine/view/textproxy~TextProxy TextProxy}.
  *
  * @typedef {module:engine/view/node~Node|module:engine/view/textproxy~TextProxy} module:engine/view/item~Item
  */

+ 3 - 3
packages/ckeditor5-engine/src/view/writer.js

@@ -787,7 +787,7 @@ export default class Writer {
      * and {@link module:engine/view/range~Range#end} positions are not placed inside same parent container.
      *
      * Throws {@link module:utils/ckeditorerror~CKEditorError} `view-writer-wrap-invalid-attribute` when passed attribute element is not
-     * an instance of {module:engine/view/attributeelement~AttributeElement AttributeElement}.
+     * an instance of {@link module:engine/view/attributeelement~AttributeElement AttributeElement}.
      *
      * Throws {@link module:utils/ckeditorerror~CKEditorError} `view-writer-wrap-nonselection-collapsed-range` when passed range
      * is collapsed and different than view selection.
@@ -1059,7 +1059,7 @@ export default class Writer {
 	 * This method will also merge newly added attribute element with its siblings whenever possible.
 	 *
 	 * Throws {@link module:utils/ckeditorerror~CKEditorError} `view-writer-wrap-invalid-attribute` when passed attribute element is not
-	 * an instance of {module:engine/view/attributeelement~AttributeElement AttributeElement}.
+	 * an instance of {@link module:engine/view/attributeelement~AttributeElement AttributeElement}.
 	 *
 	 * @private
 	 * @param {module:engine/view/range~Range} range
@@ -1122,7 +1122,7 @@ export default class Writer {
 	 * This method will also merge newly added attribute element with its siblings whenever possible.
 	 *
 	 * Throws {@link module:utils/ckeditorerror~CKEditorError} `view-writer-wrap-invalid-attribute` when passed attribute element is not
-	 * an instance of {module:engine/view/attributeelement~AttributeElement AttributeElement}.
+	 * an instance of {@link module:engine/view/attributeelement~AttributeElement AttributeElement}.
 	 *
 	 * @private
 	 * @param {module:engine/view/position~Position} position