springload / draftail

📝🍸 A configurable rich text editor built with Draft.js

Home Page:https://www.draftail.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keyboard navigation breaks with links in paragraph in Chrome on MacOS

rik-dekker opened this issue · comments

Describe the bug

If there is a link in a paragraph, text selection and navigation with keyboard starts behaving oddly in Chrome on MacOS. Doesn’t seem to affect Firefox). Examples:

  • Double click doesn’t work for selecting a word
  • CMD+ALT+ARROW KEY doesn’t work for navigating
  • ALT+ARROW KEY doesn’t move the cursor past the link or skips to next paragraph

Which terms did you search for in the documentation and issue tracker?

  • link
  • select
  • double click
  • chrome

Environment

  • Chrome 95.0.4638.69 (Official Build) (x86_64)
  • MacOS 11.6 (20G165)
  • Wagtail v2.14 (also tested v2.15)

Steps to reproduce

  1. install bakerydemo https://github.com/wagtail/bakerydemo
  2. Edit a page (e.g. /admin/pages/60/edit/)
  3. Find a paragraph with a link and try the steps in the bug description

I was unsure if this is a Wagtail or a Draftail issue, so I’ve submitted another bug report in the Wagtail repo: wagtail/wagtail#7693