소스 검색

Docs: treeModel.Node correction.

Szymon Cofalik 10 년 전
부모
커밋
6592140ae7
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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
 			 */