Skip to content

EmbeddedEditorView.set method

EmbeddedEditorView › set

Unofficial

Set the state of the editor.

Signature:

set(data: string, clear: boolean): void

Parameters:

ParameterTypeDescription
datastringDocument content to set.
clearbooleanWhether to clear existing state.

Returns: void