瀏覽代碼

Docs: Fixed docs errors.

Szymon Cofalik 7 年之前
父節點
當前提交
f171bc74bc

+ 2 - 10
packages/ckeditor5-engine/src/model/operation/operation.js

@@ -50,14 +50,6 @@ export default class Operation {
 		 */
 
 		/**
-		 * {@link module:engine/model/operation/operation~Operation Operation} which the operation is a part of. This property is set by the
-		 * {@link module:engine/model/operation/operation~Operation operation} when the operations is added to it by the
-		 * {@link module:engine/model/operation/operation~Operation#addOperation} method.
-		 *
-		 * @member {module:engine/model/operation/operation~Operation} #operation
-		 */
-
-		/**
 		 * Creates and returns an operation that has the same parameters as this operation.
 		 *
 		 * @method #clone
@@ -70,8 +62,8 @@ export default class Operation {
 		 * operation execution. In other words, it reverses changes done by the original operation.
 		 *
 		 * Keep in mind that tree model state may change since executing the original operation,
-		 * so reverse operation will be "outdated". In that case you will need to
-		 * {@link module:engine/model/operation/transform~transform} it by all operations that were executed after the original operation.
+		 * so reverse operation will be "outdated". In that case you will need to transform it by
+		 * all operations that were executed after the original operation.
 		 *
 		 * @method #getReversed
 		 * @returns {module:engine/model/operation/operation~Operation} Reversed operation.

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

@@ -22,7 +22,7 @@ import Text from './text';
  *
  * Since position in a model is represented by a {@link module:engine/model/position~Position#root position root} and
  * {@link module:engine/model/position~Position#path position path} it is possible to create positions placed in non-existing elements.
- * This requirement is important for {@link module:engine/model/operation/transform~transform operational transformation}.
+ * This requirement is important for operational transformation.
  *
  * Also, {@link module:engine/model/operation/operation~Operation operations}
  * kept in {@link module:engine/model/document~Document#history document history}