html-editor-enhanced
html-editor-enhanced copied to clipboard
Unhandled Exception: Exception: HTML editor is still loading (JS not working)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: Exception: HTML editor is still loading, please wait before evaluating this JS: $('#summernote-2').summernote('focus');!
#0 HtmlEditorController._evaluateJavascript (package:html_editor_enhanced/src/html_editor_controller_mobile.dart:261:9)
#1 HtmlEditorController.setFocus (package:html_editor_enhanced/src/html_editor_controller_mobile.dart:99:5)
#2 EditorController.onReady (package:coope_new/view/single_task/editor/controller/editor_controller.dart:37:30)
#3 DisposableInterface.onInit.
Additional context Add any other context about the problem here.
the same
Encountered the same issue.
same
Temporary Fixer: I resolved this by adding a 2 sec delay when using controller.setText(). and now I have a new problem. on navigation back.
Error:-
[ERROR:aw_browser_terminator.cc(125)] Renderer process (27984) crash detected (code -1).
E/flutter (27785): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method isLoading on channel com.pichillilorenzo/flutter_inappwebview_0)
E/flutter (27785): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:308:7)
E/flutter (27785):