diff --git a/lib/src/widgets/controller.dart b/lib/src/widgets/controller.dart index 8d52e730..16506c10 100644 --- a/lib/src/widgets/controller.dart +++ b/lib/src/widgets/controller.dart @@ -327,6 +327,7 @@ class QuillController extends ChangeNotifier { _selection = selection.copyWith( baseOffset: math.min(selection.baseOffset, end), extentOffset: math.min(selection.extentOffset, end)); + toggledStyle = Style(); } /// Given offset, find its leaf node in document