8
0
Prechádzať zdrojové kódy

The error needs to be documented once.

Piotrek Koszuliński 9 rokov pred
rodič
commit
2393866882

+ 0 - 10
packages/ckeditor5-engine/src/view/emptyelement.js

@@ -55,11 +55,6 @@ export default class EmptyElement extends Element {
 	 * to EmptyElement.
 	 * to EmptyElement.
 	 */
 	 */
 	appendChildren() {
 	appendChildren() {
-		/**
-		 * Cannot add children to {@link engine.view.EmptyElement}.
-		 *
-		 * @error view-emptyelement-cannot-add
-		 */
 		throw new CKEditorError( 'view-emptyelement-cannot-add: Cannot add child nodes to EmptyElement instance.' );
 		throw new CKEditorError( 'view-emptyelement-cannot-add: Cannot add child nodes to EmptyElement instance.' );
 	}
 	}
 
 
@@ -69,11 +64,6 @@ export default class EmptyElement extends Element {
 	 * to EmptyElement.
 	 * to EmptyElement.
 	 */
 	 */
 	insertChildren() {
 	insertChildren() {
-		/**
-		 * Cannot add children to {@link engine.view.EmptyElement}.
-		 *
-		 * @error view-emptyelement-cannot-add
-		 */
 		throw new CKEditorError( 'view-emptyelement-cannot-add: Cannot add child nodes to EmptyElement instance.' );
 		throw new CKEditorError( 'view-emptyelement-cannot-add: Cannot add child nodes to EmptyElement instance.' );
 	}
 	}