ProseMirror / prosemirror

The ProseMirror WYSIWYM editor
http://prosemirror.net/
MIT License
7.59k stars 335 forks source link

Unable to cut with Shift+Delete when all text is selected. #1381

Closed gg-kialo closed 1 year ago

gg-kialo commented 1 year ago

When I select all text (Ctrl+A) in the textbox (e.g. the example on https://prosemirror.net/), I am then unable to cut text with the Shift+Delete key combo. If I select some subset of the text then I am able to cut the text.

OS: Ubuntu 23.04 Browser: Firefox (114,115), Chromium 113 (and other linux users have reported the same issue to me)

marijnh commented 1 year ago

Attached patch seems to resolve that.