-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Draftail (rich text editor) - using cmd + left arrow to navigate to the start of the line is broken in Firefox #9366
Comments
I will be great if you assign me to this @lb- |
@Dev-Yusuf we don't really assign issues outside of the core team. I encourage you to first try to reproduce the problem and confirm it exists, from here maybe have a look at the code and see if you think you know what the issue could be. After that you may be able to a PR to fix it, if so, just add a comment that you're working on a fix. Also, I am not sure if this can even be fixed in Wagtail's code, it may be a Draftail issue or even a Draft.js issue. I did search those repos but we may end up moving this bug to a different project. |
Hi @lb- I was able to determine that the issue still remains by comparing results on the Chrome and Firefox browsers. |
Issue Summary
I used the Rich text editor for a large amounts of editing links this week and found some very frustrating behaviour with cmd + left arrow interaction.
When there is an inline element (e.g. a link), it is impossible to navigate to the start of the line in the way that works in every other text editor I have used.
cmd
+left arrow
should navigate to the start of the line.cmd
+shift
+left arrow
should highlight from the current position to the start of the linecmd
+right arrow
moves to the end of the line &cmd
+shift
+right arrow
selects the text from the current position the end of the line.Steps to Reproduce
cmd
+left arrow
to move to the start of the lineTechnical details
Manual testing
⌘
+⬅️
⌘
+⬅️
⌘
+⬅️
⌘
+⬅️
⌘
+⬅️
⌘
+⬅️
Recording
Screen.Recording.2022-10-14.at.5.15.40.pm.mp4
The text was updated successfully, but these errors were encountered: