-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] clipboard: don't open composer on firefox
Steps to reproduce: - open a spreadsheet with firefox - copy a cell - paste it somewhere else => the composer is open with the pasted content. Additional small fix in the content editable helper, the selection `start` was not clipped if it was greater than the content length. Note: it doesn't happen on Chrome because `ev.data` is null when pasting content. It doesn't correctly implements the spec https://w3c.github.io/input-events/#dfn-data opw-3236303 closes #2257 X-original-commit: c7f1486 Signed-off-by: Rémi Rahir (rar) <[email protected]> Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
- Loading branch information
1 parent
daf0d43
commit 81e4b9e
Showing
3 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters