Skip to content

EmbeddedEditorView.set method

EmbeddedEditorView › set

Unofficial

Set the state of the editor.

Signature:

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

Parameters:

Parameter Type Description
data string Document content to set.
clear boolean Whether to clear existing state.

Returns: void