|
|
@ -100,11 +100,13 @@ mixin RawEditorStateKeyboardMixin on EditorState { |
|
|
|
TextSelection.collapsed(offset: selection.start), |
|
|
|
TextSelection.collapsed(offset: selection.start), |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
setTextEditingValue(TextEditingValue( |
|
|
|
setTextEditingValue( |
|
|
|
text: |
|
|
|
TextEditingValue( |
|
|
|
selection.textBefore(plainText) + selection.textAfter(plainText), |
|
|
|
text: selection.textBefore(plainText) + |
|
|
|
|
|
|
|
selection.textAfter(plainText), |
|
|
|
selection: TextSelection.collapsed(offset: selection.start), |
|
|
|
selection: TextSelection.collapsed(offset: selection.start), |
|
|
|
), SelectionChangedCause.keyboard); |
|
|
|
), |
|
|
|
|
|
|
|
SelectionChangedCause.keyboard); |
|
|
|
} |
|
|
|
} |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|