Piotrek Koszuliński 5 年之前
父节点
当前提交
6db149d2af

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

@@ -757,7 +757,7 @@ export default class Model {
 	}
 
 	/**
-	 * Creates an `Operation` instance from a JSON object with the operation data (e.g. taken from a parsed JSON string).
+	 * Creates an operation instance from a JSON object (parsed JSON string).
 	 *
 	 * This is an alias for {@link module:engine/model/operation/operationfactory~OperationFactory#fromJSON}.
 	 *

+ 1 - 1
packages/ckeditor5-engine/src/model/operation/operationfactory.js

@@ -37,7 +37,7 @@ operations[ MergeOperation.className ] = MergeOperation;
  */
 export default class OperationFactory {
 	/**
-	 * Creates an `Operation` instance from a JSON object with the operation data (e.g. taken from a parsed JSON string).
+	 * Creates an operation instance from a JSON object (parsed JSON string).
 	 *
 	 * @param {Object} json Deserialized JSON object.
 	 * @param {module:engine/model/document~Document} document Document on which this operation will be applied.