returns the value of Rich Text Editor
type | string | the format of the applied value. It can be: "html", "text", "raw" (Richtext AST content) |
const value = $$("editor").getValue();
// -> '<p>Sample text</p>'
The method returns the content of the widget in the specified format. If the type parameter hasn't been passed, the method returns a string HTML content.