|
|
@@ -10,12 +10,11 @@ import isIterable from '../../utils/isiterable.js';
|
|
|
import isPlainObject from '../../utils/lib/lodash/isPlainObject.js';
|
|
|
|
|
|
/**
|
|
|
- * Tree view element.
|
|
|
+ * View element.
|
|
|
*
|
|
|
* Editing engine does not define fixed HTML DTD. This is why the type of the {@link engine.view.Element} need to
|
|
|
* be defined by the feature developer. Creating an element you should use {@link engine.view.ContainerElement}
|
|
|
- * class, {@link engine.view.AttributeElement} class, {@link engine.view.EmptyElement} class or
|
|
|
- * {@link engine.view.WidgetElement} class.
|
|
|
+ * class, {@link engine.view.AttributeElement} class or {@link engine.view.EmptyElement} class.
|
|
|
*
|
|
|
* Note that for view elements which are not created from model, like elements from mutations, paste or
|
|
|
* {@link engine.controller.DataController#set data.set} it is not possible to define the type of the element, so
|
|
|
@@ -26,7 +25,7 @@ import isPlainObject from '../../utils/lib/lodash/isPlainObject.js';
|
|
|
*/
|
|
|
export default class Element extends Node {
|
|
|
/**
|
|
|
- * Creates a tree view element.
|
|
|
+ * Creates a view element.
|
|
|
*
|
|
|
* Attributes can be passed in various formats:
|
|
|
*
|