mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Skip pasting files if plain text available in clipboard
This commit is contained in:
@@ -9,6 +9,9 @@ const Discourse = Ember.Application.extend({
|
||||
RAW_TEMPLATES: {},
|
||||
__widget_helpers: {},
|
||||
showingSignup: false,
|
||||
customEvents: {
|
||||
paste: 'paste'
|
||||
},
|
||||
|
||||
getURL(url) {
|
||||
if (!url) return url;
|
||||
|
||||
Reference in New Issue
Block a user