Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
RichText: fix caret position when deleting a selected word #11965
Fixes #11964 and adds e2e tests.
In #11627 I retained deletion handling for uncollapsed selections (meaning text is selected) because I couldn't figure out the problem fast enough with letting it be handled natively again. It turns out TinyMCE is handling the case where an instance is entirely selected, and the React
@notnownikki I also updated the tests you have added, to check if the space is actually there before retyping.
How has this been tested?
See #11964 and above.
Types of changes