diff --git a/lib/src/widgets/quill/quill_controller.dart b/lib/src/widgets/quill/quill_controller.dart index a1b17fc6..ebbaa7d6 100644 --- a/lib/src/widgets/quill/quill_controller.dart +++ b/lib/src/widgets/quill/quill_controller.dart @@ -478,7 +478,8 @@ class QuillController extends ChangeNotifier { super.dispose(); } - void _updateSelection(TextSelection textSelection, {bool insertNewline = false}) { + void _updateSelection(TextSelection textSelection, + {bool insertNewline = false}) { _selection = textSelection; final end = document.length - 1; _selection = selection.copyWith(