insertHtml method
Insert HTML at the position of the cursor in the editor Note: This method should not be used for plaintext strings
Implementation
Future<void> insertHtml(String html) async {
await evaluateJavascript(
data: {'type': 'toIframe: insertHtml', 'html': _processHtml(html)});
}