From c0c6b8607dd919fae9f4d634fdbbd13fe0fd1dff Mon Sep 17 00:00:00 2001 From: X Code Date: Wed, 20 Apr 2022 17:40:09 -0700 Subject: [PATCH] Upgrade to 4.1.3 --- CHANGELOG.md | 3 +++ lib/src/widgets/raw_editor.dart | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4402eec1..bf879e55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# [4.1.3] +* Fix selection handles show/hide after paste, backspace, copy. + # [4.1.2] * Add full support for hardware keyboards (Chromebook, Android tablets, etc) that don't alter screen UI. diff --git a/lib/src/widgets/raw_editor.dart b/lib/src/widgets/raw_editor.dart index aa486afb..2ba0532c 100644 --- a/lib/src/widgets/raw_editor.dart +++ b/lib/src/widgets/raw_editor.dart @@ -1010,8 +1010,8 @@ class RawEditorState extends EditorState userUpdateTextEditingValue( TextEditingValue( text: textEditingValue.text, - selection: TextSelection.collapsed( - offset: textEditingValue.selection.end), + selection: + TextSelection.collapsed(offset: textEditingValue.selection.end), ), cause, ); diff --git a/pubspec.yaml b/pubspec.yaml index cabb3622..3b27db73 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill description: A rich text editor supporting mobile and web (Demo App @ bulletjournal.us) -version: 4.1.2 +version: 4.1.3 #author: bulletjournal homepage: https://bulletjournal.us/home/index.html repository: https://github.com/singerdmx/flutter-quill