tneotia / html-editor-enhanced

A Flutter package that provides a WYSIWYG editor backed by flutter_inappwebview and the Summernote library.
https://pub.dev/packages/html_editor_enhanced
MIT License
269 stars 318 forks source link

MissingPluginException(No implementation found for method evaluateJavascript on channel com.pichillilorenzo/flutter_inappwebview_12)[BUG] #507

Open Devandhiran637 opened 2 months ago

Devandhiran637 commented 2 months ago

MissingPluginException(No implementation found for method evaluateJavascript on channel com.pichillilorenzo/flutter_inappwebview_12) I/flutter (13435): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7) I/flutter (13435): I/flutter (13435): #1 InAppWebViewController.evaluateJavascript (package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.dart:1460:16) I/flutter (13435): I/flutter (13435): #2 HtmlEditorController._evaluateJavascript (package:html_editor_enhanced/src/html_editor_controller_mobile.dart:264:20) I/flutter (13435):

when i set back button Navigator.of(context).pop()

this issue replicates

`@override void dispose() { controller.clear(); controller.clearFocus();

super.dispose();

}

HtmlEditorController controller = HtmlEditorController();

Container( height: 300, child: HtmlEditor( controller: controller, //required otherOptions: OtherOptions( decoration: BoxDecoration(border: Border())), htmlEditorOptions: HtmlEditorOptions( autoAdjustHeight: true, mobileContextMenu: ContextMenu(options: ContextMenuOptions()), initialText: messageController.text, hint: "", //initalText: "text content initial, if any", ), ), ) `