ianstormtaylor / slate

A completely customizable framework for building rich text editors. (Currently in beta.)
http://slatejs.org
MIT License
29.97k stars 3.25k forks source link

The keyboard shortcut ctrl + shift + up does not work in Firefox. #4281

Open lemm17 opened 3 years ago

lemm17 commented 3 years ago

Description The keyboard shortcut ctrl + shift + up does not work in Firefox.

Recording https://user-images.githubusercontent.com/48180890/119153838-07cbdd00-ba6b-11eb-9387-6900660aab78.mp4

Sandbox https://www.slatejs.org/examples/plaintext

Steps To reproduce the behavior:

  1. Enter the second line
  2. Move the cursor to the beginning of the second line
  3. Press the keyboard shortcut ctrl + shift + up
  4. The first line is not highlighted

Expectation Everything above the cursor before pressing the keyboard shortcut is highlighted (like in chrome)

Environment

ugrinovsky commented 3 years ago

Browser bug that's 20 years old https://bugzilla.mozilla.org/show_bug.cgi?id=127884