-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with caret position of math_inline in RTL #41
Labels
Comments
Thank you for reporting! I believe there are a few factors at play here where LTR is hard-coded as an assumption. I may be able to fix this by having an RTL config flag, and reversing the relationship between document position and direction whenever the flag is set. I will see if a simple fix is possible. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the editor direction is rtl, caret position acts wrong in inline mode and makes it unusable. Pressing left arrow key (or right) doesn't work correctly and gets stuck in a loop. It's easy to reproduce:
I tried to change
updateCursorPos
internally but didn't get anywhere. How can I change thecursorSide
in tiptap2? I'm using the example from here.The text was updated successfully, but these errors were encountered: