EmbeddedEditorView.set method
EmbeddedEditorView › set
Unofficial
Set the state of the editor.Signature:
set(data: string, clear: boolean): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| data | string | Document content to set. |
| clear | boolean | Whether to clear existing state. |
Returns: void