diff --git a/docs/_snippets/framework/tutorials/using-react-in-widget.js b/docs/_snippets/framework/tutorials/using-react-in-widget.js index d04a25472e0..5f101b01588 100644 --- a/docs/_snippets/framework/tutorials/using-react-in-widget.js +++ b/docs/_snippets/framework/tutorials/using-react-in-widget.js @@ -114,17 +114,13 @@ class ProductPreviewEditing extends Plugin { // The inner
element. // This element will host a React`. Similar attribute elements are flattened by the view writer, so e.g. `x
` would automatically be optimized to `x`.
* **Empty element** – The elements that must not have any child nodes, for example ``.
* **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 ("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 `