getSelectedTextWeb method

Future<String> getSelectedTextWeb({
  1. bool withHtmlTags = false,
})

Gets the selected HTML from the editor. You should use controller.editorController.getSelectedText() on mobile.

withHtmlTags may not work properly when the selected text is entirely within one HTML tag. However if the selected text spans multiple different tags, it should work as expected.

Implementation

Future<String> getSelectedTextWeb({bool withHtmlTags = false}) =>
    Future.value('');