This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Martin Brennan 7dd9dd848a
FIX: Table pasting issues with uppy (#15787) (#15812)
When changing to uppy for file uploads we forgot to add
these conditions to the paste event from 9c96511ec4

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.
2022-02-04 11:44:30 +11:00
..
app FIX: Table pasting issues with uppy (#15787) (#15812) 2022-02-04 11:44:30 +11:00
config DEV: Allow ember server --environment production to be used (#15431) 2021-12-31 12:26:23 +00:00
lib DEV: Update plugin JS loading in Ember CLI testem environment 2022-01-18 10:16:29 +00:00
public/assets/scripts DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
tests FIX: Table pasting issues with uppy (#15787) (#15812) 2022-02-04 11:44:30 +11:00
.ember-cli REFACTOR: Sync up master with changes for Ember-CLI (#11671) 2021-01-12 10:13:21 -05:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js DEV: Remove jQuery UI vendor dependencies (#15782) 2022-02-03 11:19:50 +10:00
package.json DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
testem.js DEV: Update plugin JS loading in Ember CLI testem environment 2022-01-18 10:16:29 +00:00