|
|
@@ -232,7 +232,7 @@ The element types can be defined as follows:
|
|
|
* **Attribute element** – The elements that cannot contain container elements inside them. Most model text attributes are converted to view attribute elements. They are used mostly for inline styling elements such as `<strong>`, `<i>`, `<a>`, `<code>`. Similar attribute elements are flattened by the view writer, so e.g. `<a href="..."><a class="bar">x</a></a>` would automatically be optimized to `<a href="..." class="bar">x</a>`.
|
|
|
* **Empty element** – The elements that must not have any child nodes, for example `<img>`.
|
|
|
* **UI elements** – The elements that are not a part of the "data" but need to be "inlined" in the content. They are ignored by the selection (it jumps over them) and the view writer in general. The contents of these elements and events coming from them are filtered out, too.
|
|
|
-* **Raw element** – The elements that work as data containers ("sandboxes") but their children are transparent to the editor. Useful when non-standard data must be rendered but the editor should not be concerned what it it is and how it works. Users cannot put the selection inside a raw element, split it into smaller chunks or directly modify its content.
|
|
|
+* **Raw element** – The elements that work as data containers ("wrappers", "sandboxes") but their children are transparent to the editor. Useful when non-standard data must be rendered but the editor should not be concerned what it is and how it works. Users cannot put the selection inside a raw element, split it into smaller chunks or directly modify its content.
|
|
|
* **Editable element** – The elements used as "nested editables" of non-editable fragments of the content, for example a caption in the image widget, where the `<figure>` wrapping the image is not editable (it is a widget) and the `<figcaption>` inside it is an editable element.
|
|
|
|
|
|
Additionally, you can define {@link module:engine/view/element~Element#getCustomProperty custom properties} which can be used to store information like:
|