Open Xazin opened 2 months ago
When inputting an accent character like ~ or ^, I expect to be able to also delete it with just one backspace.
The other way around, I expect two spaces to be able to add one space, as the next input might be a character that the accent can be used with.
Normally an underscore is added to an accent character when it's still in it's transitional state. Worth taking note of.
Bug Description
Seems the editor does not handle accent characters like
^¨~
very well when it comes to deleting or replacing.How to Reproduce
Type an accent character eg.
~
and hit the button.Expected Behavior
Similar to how you can escape the assertion errors by pressing space or selecting some text and then performing the operation, I'd expect the accent character to be first transformed to a non-transitional character and then operations to be applied.
deleteBackward
is one case, but it also happens withdeleteText
. I'm assuming there could be similar behavior with other operations eg. insertion.Operating System
MacOS
AppFlowy Editor Version(s)
Main
Screenshots
https://github.com/AppFlowy-IO/appflowy-editor/assets/42929161/ffb7ff31-3eb3-45e2-b5f4-94820c650b3e
Additional Context
Stacktrace
``` ════════ Exception caught by foundation library ════════════════════════════════ The following assertion was thrown while dispatching notifications for PropertyValueNotifier