getHtml method

Future<String?> getHtml()

Get current HTML from editor

Implementation

Future<String?> getHtml() async {
  try {
    if (_controller != null) {
      htmlLocal = await javascriptExecutor.getCurrentHtml();
    }
  } catch (e) {}
  return htmlLocal;
}