specifies a value for Rich Text Editor
| value |
const text =
`<p>Hello World</p>
<p><a href="https://docs.webix.com/desktop__richtext.html">Rich Text Editor</a></p>
<p>Sample text</p>`;
$$("editor").setValue(text);
If the type parameter isn't specified, the method treats the content according to the current datatype parameter ("html" by default).
Note that the markdown parser of Rich Text Editor doesn't provide support for nested structures (except bold inside italic).
This means that combinations such as bold inside a link, italic inside a list, or multi-level lists will not render
correctly while being pasted, added via the setValue() method or inserted via the insertValue() method
with the "markdown" format or imported in an .md file.