zulip/static/third
Puneeth Chaganti 9c377a05f3 paste: More robust check to verify if clipboard data is an image.
The commit f863a9b567 had modified
jquery.filedrop's paste method to exit early if any of the items in the
clipboardData is of the string kind. The early exit was added to prevent pasting
an image thumbnail for text copied from software like MS Word, instead of
pasting the actual copied text content. When copying an image in a (modern?)
Browser, though, the clipboard seems to contain a html `img` tag item, along
with the actual image file. This resulted in pastes being broken.

This commit modifies the condition checked for the early exit. We now actually
look at the html content in the clipboard to see if it is an `img` tag, in which
case we upload the image, instead of exiting early.

Closes #7130.
2019-01-25 11:40:33 -08:00
..
bootstrap third: Extract bootstrap typeahead to its own module. 2018-12-17 09:06:52 -08:00
bootstrap-notify Give Feedback in non-obvious cases for sent messages 2013-11-01 12:34:39 -04:00
bootstrap-typeahead third: Extract bootstrap typeahead to its own module. 2018-12-17 09:06:52 -08:00
html5-formdata
jquery-autosize [third] Fix copyright for jquery.autosize.js 2013-09-06 10:58:48 -04:00
jquery-caret [third] Replace jquery-caret with newer implementation. 2016-06-14 16:36:51 -07:00
jquery-filedrop paste: More robust check to verify if clipboard data is an image. 2019-01-25 11:40:33 -08:00
jquery-idle Refactor to delete mousewheel.js. 2017-07-03 11:04:20 -04:00
katex Revert "katex: Update the `require` path to point to the new one." 2018-01-23 12:30:28 -08:00
marked markdown: Reduce mentions inside blockquotes to silent-mentions. 2019-01-16 16:08:37 -08:00
sockjs Revert "update-sockjs: Update sockjs from version 0.3.4 to 1.1.1." 2017-01-10 11:46:15 -08:00
spectrum css: Change `*-device-width` to `*-width` selectors. 2018-04-21 22:15:56 -07:00
zocial Zocial buttons: Fix overflow of text when internationalized. 2016-10-16 12:35:43 -07:00