Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Arrow movement in RTL text with marks creates stuck caret #948
When using marks with text in RTL and using arrow keys to move right/left, the caret is getting stuck some places. It doesn't matter if the dir=rtl is set on the paragraph. The issue happens whenever there are words in RTL characters that have different marks. The same markup in raw contenteditable does not show the same issues.
Steps to reproduce
This was another issue caused by the cursor wrapper kludge. I have a patch in this branch that removes this kludge (its motivation is dubious since version 1.9.0 of prosemirror-view). I'd like to test this a bit more before I release it though, since it is somewhat invasive.