Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
When changing to uppy for file uploads we forgot to add these conditions to the paste event from 9c96511 Basically, if you are pasting more than just a file (e.g. text, html, rtf), then we should not handle the file and upload it, and instead just paste in the text. This causes issues with spreadsheet tools, that will copy the text representation and also an image representation of cells to the user's clipboard. This also moves the paste event for composer-upload-uppy to the element found by the `editorClass` property, so it shares the paste event with d-editor (via TextareaTextManipulation), which makes testing this possible as the ember paste bindings are not picked up unless both paste events are on the same element.
- Loading branch information
1 parent
be72ae8
commit 7dd9dd8
Showing
5 changed files
with
53 additions
and
13 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
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
7dd9dd8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit has been mentioned on Discourse Meta. There might be relevant details there:
https://meta.discourse.org/t/bug-with-chat-on-stable/218241/1