Skip to content

MarkdownBaseView.set method

MarkdownBaseView › 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