You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here we create two text strings which we will compare looking for changes. It seems that oldText should also have changed to regular spaces for comparison purposes. Of course there always may be some case that I forgot now, but that would make sense. Above those two lines of code is a comment that mentions _handleTextMutation function. In that function oldText has   replaced.
So I changed that and there are no errors in tests and the bug seems to be fixed 🤷♂️ .
Steps to reproduce
For the following model:
type something e.g.
x
character .Result
Selection went after
 
character and attributes are applied for the all text before the selection.Expected result
Selection should be placed after the new character
The text was updated successfully, but these errors were encountered: