mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08: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