fix selection.affinity always downstream after updateEditingValue (#1682)

Co-authored-by: luying <luying1@qimao.com>
pull/1684/head
Luy2077 1 year ago committed by GitHub
parent cb2ba18bbd
commit 45ff63355c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart

@ -203,7 +203,8 @@ mixin RawEditorStateTextInputClientMixin on EditorState
diff.start,
diff.deleted.length,
diff.inserted,
value.selection,
value.selection.copyWith(
affinity: widget.configurations.controller.selection.affinity),
);
// if (widget.configurations.controller.selectedFontFamily != null) {

Loading…
Cancel
Save