Przeglądaj źródła

Docs: treeModel.Node correction.

Szymon Cofalik 10 lat temu
rodzic
commit
6592140ae7
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      packages/ckeditor5-engine/src/treemodel/node.js

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

@@ -118,10 +118,9 @@ export default class Node {
 			return null;
 		}
 
-		// No parent or child doesn't exist in parent's children.
 		if ( ( pos = this.parent.getChildIndex( this ) ) == -1 ) {
 			/**
-			 * The node's parent does not contain this node. It means that the document tree is corrupted.
+			 * The node's parent does not contain this node.
 			 *
 			 * @error node-not-found-in-parent
 			 */