quill
quill copied to clipboard
Can select text but not write
Steps for Reproduction
- Visit https://jsfiddle.net/pm758c4r/ with Firefox (I could not reproduce this issue in Chromium, IE, EDGE, Opera...)
- Place the caret at any position in the Quill-Textarea by left-clicking with your mouse. You can now type in text
- With the right mouse button, click on ''Link to quill hompage'' and select "Open in new Tab"
- A new tab will be opened in the background
- Select text with the keyboard (i.e. SHIFT + Arrow-Key)
- Try to type some more text
Expected behavior:
Either, the selection should not work (as in any other browser)
Or we should now be able to type text.
Actual behavior: Text is selected, but it's not possible to write any text. This is quite confusing for the user.
Platforms: Tested on Windows 7, Firefox 65 and Ubuntu Linux, Firefox 65 Other browsers do not seem to be affected from this issue.
I'm not sure whether this is an incorrect behaviour of Firefox or Quill, but this issue does not happen, if I'm using standard HTML or
Version: 1.3.6 (see jsfiddle)
One more thing to add: I now also tried a <div contenteditable="true">
. This behaves the same as a textarea or input element. The problem only appears with Quill. I'd guess that the Shift+Keypress is somehow intercepted by Quill and it assumes that the carret is still in the editor / that the editor still has focus?