Преглед изворни кода

Removed EmptyElement description from Element.clone() as EmptyElement has its own clone method.

Szymon Kupś пре 9 година
родитељ
комит
06e3202345
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/ckeditor5-engine/src/view/element.js

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

@@ -139,7 +139,7 @@ export default class Element extends Node {
 			}
 		}
 
-		// ContainerElement, AttributeElement and EmptyElement should be also cloned properly.
+		// ContainerElement and AttributeElement should be also cloned properly.
 		const cloned = new this.constructor( this.name, this._attrs, childrenClone );
 
 		// Classes and styles are cloned separately - this solution is faster than adding them back to attributes and