Skip to content

Editor.insertText method

Editor › insertText

Unofficial

Insert specified text at the current cursor position.

Signature:

insertText(text: string): void

Parameters:

Parameter Type Description
text string The text to insert.

Returns: void

Remarks:

Might be broken, inserts at the end of the document.