clear toggled style on selection change (#675)

pull/681/head
Andy Trand 3 years ago committed by GitHub
parent b437fb014b
commit e895c8c0f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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