insertText method

void insertText({
  1. required String text,
})

Insert text at the end of the current HTML content in the editor.

Implementation

void insertText({required String text}) => sendEvent(
      EditorInsertText(payload: text),
    );