fix selection.affinity always downstream after updateEditingValue

pull/1669/head
luying 1 year ago
parent baf70e04aa
commit c8b457bb0c
  1. 2
      lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart

@ -203,7 +203,7 @@ 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