浏览代码

Docs: small fix.

Piotr Jasiun 10 年之前
父节点
当前提交
b148936a9a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-engine/src/treemodel/document.js

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

@@ -215,7 +215,7 @@ export default class Document {
 	 * {@link #graveyard graveyard root}.
 	 * @param {treeModel.Position} [changeInfo.sourcePosition] Change source position. Exists for 'remove', 'reinsert' and 'move'.
 	 * Note that for 'reinsert' the source position will be in the {@link #graveyard graveyard root}.
-	 * @param {*} [changeInfo.key] Only for 'attr' type. Key of changed / inserted / removed attribute.
+	 * @param {String} [changeInfo.key] Only for 'attr' type. Key of changed / inserted / removed attribute.
 	 * @param {*} [changeInfo.oldValue] Only for 'attr' type. If the type is 'attr' and `oldValue`
 	 * is `undefined` it means that new attribute was inserted. Otherwise it contains changed or removed attribute value.
 	 * @param {*} [changeInfo.newValue] Only for 'attr' type. If the type is 'attr' and `newValue`