-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled Exception: Exception: HTML editor is still loading (JS not working) #384
Comments
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:- |
[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. (package:get/get_state_manager/src/rx_flutter/rx_disposable.dart:21:44)
#4 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1175:15)
#5 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1113:9)
#6 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1015:5)
#7 _invoke (dart:ui/hooks.dart:148:13)
#8 PlatformDispat<…>
flutter: JavaScript execution returned a result of an unsupported type
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: