clear toggled style on selection change

pull/675/head
Andriy Trubchanin 3 years ago
parent b437fb014b
commit 079f0ba158
  1. 1
      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

Loading…
Cancel
Save