You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EchoEllet opened this issue
Sep 13, 2024
· 2 comments
Labels
blockedThis issue cannot be resolved due to an obstacle or dependency.bugSomething isn't workingminorMinimal impact or cosmetic issue. Can be resolved at a later time without affecting overall functionwebIssues or feature requests specific to the Web platform.
╡ EXCEPTION CAUGHT BY FOUNDATION LIBRARY ╞════════════════════════════════════════════════════════The following assertion was thrown while dispatching notifications for QuillController:Looking up a deactivated widget's ancestor is unsafe.At this point the state of the widget's element tree is no longer stable.To safely refer to a widget's ancestor in its dispose() method, save a reference to the ancestor bycalling dependOnInheritedWidgetOfExactType() in the widget's didChangeDependencies() method.When the exception was thrown, this was the stack:dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3 throw_errors.dart:296packages/flutter/src/widgets/framework.dart 4873:9 <fn>framework.dart:4873packages/flutter/src/widgets/framework.dart 4886:14 [_debugCheckStateIsActiveForAncestorLookup]framework.dart:4886packages/flutter/src/widgets/framework.dart 4906:12 dependOnInheritedWidgetOfExactTypeframework.dart:4906packages/flutter/src/widgets/localizations.dart 529:47 oflocalizations.dart:529packages/flutter_quill/src/l10n/generated/quill_localizations.dart 107:26 ofquill_localizations.dart:107packages/flutter_quill/src/l10n/extensions/localizations_ext.dart 23:38 LocalizationsExt.get$35loclocalizations_ext.dart:23packages/flutter_quill/src/toolbar/buttons/font_family_button.dart 49:21 get [_defaultDisplayText]font_family_button.dart:49packages/flutter_quill/src/toolbar/buttons/font_family_button.dart 41:11 get currentStateValuefont_family_button.dart:41packages/flutter_quill/src/toolbar/base_button/base_value_button.dart 88:35 <fn>base_value_button.dart:88packages/flutter/src/widgets/framework.dart 1203:30 setStateframework.dart:1203packages/flutter_quill/src/toolbar/base_button/base_value_button.dart 88:5 didChangeEditingValuebase_value_button.dart:88packages/flutter/src/foundation/change_notifier.dart 437:24 notifyListenerschange_notifier.dart:437packages/flutter_quill/src/controller/quill_controller.dart 353:7 replaceTextquill_controller.dart:353packages/flutter_quill/src/controller/quill_controller_rich_paste.dart 86:5 QuillControllerRichPaste._pasteUsingDeltaquill_controller_rich_paste.dart:86packages/flutter_quill/src/controller/quill_controller_rich_paste.dart 42:7 QuillControllerRichPaste$124pasteHTMLquill_controller_rich_paste.dart:42dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50 <fn>async_patch.dart:45dart-sdk/lib/async/zone.dart 1661:54 runUnaryzone.dart:1661dart-sdk/lib/async/future_impl.dart 163:18 handleValuefuture_impl.dart:163dart-sdk/lib/async/future_impl.dart 861:44 handleValueCallbackfuture_impl.dart:861dart-sdk/lib/async/future_impl.dart 890:13 _propagateToListenersfuture_impl.dart:890dart-sdk/lib/async/future_impl.dart 666:5 [_completeWithValue]future_impl.dart:666dart-sdk/lib/async/future_impl.dart 736:7 callbackfuture_impl.dart:736dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoopschedule_microtask.dart:40dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoopschedule_microtask.dart:49dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7 <fn>async_patch.dart:181The QuillController sending notification was: Instance of 'QuillController'nother exception was thrown: Looking up a deactivated widget's ancestor is unsafe.3Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'bool'3Another exception was thrown: Unexpected null value.2Another exception was thrown: Looking up a deactivated widget's ancestor is unsafe.3Another exception was thrown: TypeError: null: type 'Null' is not a subtype of type 'bool'3Another exception was thrown: Unexpected null value.
The text was updated successfully, but these errors were encountered:
EchoEllet
added
web
Issues or feature requests specific to the Web platform.
minor
Minimal impact or cosmetic issue. Can be resolved at a later time without affecting overall function
labels
Sep 22, 2024
blockedThis issue cannot be resolved due to an obstacle or dependency.bugSomething isn't workingminorMinimal impact or cosmetic issue. Can be resolved at a later time without affecting overall functionwebIssues or feature requests specific to the Web platform.
Is there an existing issue for this?
Flutter Quill version
Commit e51add5
Steps to reproduce
Run the example, open an empty document
Copy the Table of Contnets section
Screenshot
Paste it into the editor using the keyboard paste hotkey
Expected results
Should only paste once
Actual results
Duplicated paste, one pasted via HTML and the other as plain text.
Code sample
Run the application in the example
Additional Context
For more details #2009
Screenshots / Video demonstration
Logs
The text was updated successfully, but these errors were encountered: