getText method
Gets the HTML content from the editor.
Implementation
Future<String> getText() async {
_serializer.onTagSerialize = onTagSerialize;
var html = _serializer.serialize(_documentController.document);
if (processOutputHtml) {
if (html == '<p></p>' || html == '<p><br></p>' || html.isEmpty) {
html = '';
}
}
return html;
}