createLink method

void createLink({
  1. required String text,
  2. required String url,
  3. bool isNewWindow = true,
})

Create/insert a link in the editor.

Implementation

void createLink({required String text, required String url, bool isNewWindow = true}) =>
    sendEvent(EditorCreateLink(text: text, url: url, isNewWindow: isNewWindow));