Skip to content
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

[Bug] Keyboard selection by word doesn't work when selecting from right to left #2045

Closed
gohabereg opened this issue May 3, 2022 · 3 comments · Fixed by #2055
Closed

[Bug] Keyboard selection by word doesn't work when selecting from right to left #2045

gohabereg opened this issue May 3, 2022 · 3 comments · Fixed by #2055
Labels

Comments

@gohabereg
Copy link
Member

Describe a bug.

Steps to reproduce:

  1. Go to https://editorjs.io
  2. Click in the middle of any paragraph
  3. Try to select several words via keyboard from right to left (on MacOS Opt + Shift + Arrow left)

Expected behaviour:
Words should be selected

Actual behaviour:
After selecting the second word selection is lost and cursor jumps to the beginning of the paragraph

Device, Browser, OS:
Chrome, MacOS

Editor.js version:
2.24.2

@gohabereg gohabereg added the bug label May 3, 2022
@gohabereg gohabereg changed the title [Bug] Keyboard selection by word doesn't work when selection from right to left [Bug] Keyboard selection by word doesn't work when selecting from right to left May 3, 2022
@yswang0927
Copy link

Yes, I also found this problem.

@mrinmays
Copy link

mrinmays commented May 5, 2022

+1

1 similar comment
@rzvtig
Copy link

rzvtig commented May 5, 2022

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants