Szymon Cofalik hace 9 años
padre
commit
f3551957ad

+ 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;