FIX: Skip pasting files if plain text available in clipboard

This commit is contained in:
Vinoth Kannan
2017-12-02 00:50:45 +05:30
parent dbadebacd1
commit e2c60ea4b2
4 changed files with 31 additions and 3 deletions

View File

@ -9,6 +9,9 @@ const Discourse = Ember.Application.extend({
RAW_TEMPLATES: {},
__widget_helpers: {},
showingSignup: false,
customEvents: {
paste: 'paste'
},
getURL(url) {
if (!url) return url;