Page tree
Skip to end of metadata
Go to start of metadata

Insert texts at the caret position.

When there is a selection, the selected block is deleted and the text is inserted.


Parameters:

NameTypeDescription
actionNameString'insertText' text inserting API
textStringText to insert


Example:

editor.execCommand('insertText', 'text');
  • No labels