소스 검색

Docs fixes.

Szymon Cofalik 9 년 전
부모
커밋
f3551957ad
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      packages/ckeditor5-engine/src/treemodel/element.js
  2. 1 1
      packages/ckeditor5-engine/src/treemodel/node.js

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

@@ -135,7 +135,7 @@ export default class Element extends Node {
 	}
 
 	/**
-	 * Sets attribute on the element. If attribute with the same key already is set, it overwrites its values.
+	 * Sets attribute on the element. If attribute with the same key already is set, it overwrites its value.
 	 *
 	 * @param {String} key Key of attribute to set.
 	 * @param {*} value Attribute value.

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

@@ -92,7 +92,7 @@ export default class Node {
 	 * The top parent for the node. If node has no parent it is the root itself.
 	 *
 	 * @readonly
-	 * @type {Number}
+	 * @type {engine.treeModel.Element}
 	 */
 	get root() {
 		let root = this;