diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/components/editable.reel/editable.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/components/editable.reel/editable.js b/js/components/editable.reel/editable.js index b7fdd707..b385d916 100644 --- a/js/components/editable.reel/editable.js +++ b/js/components/editable.reel/editable.js | |||
@@ -229,6 +229,8 @@ exports.Editable = Montage.create(Component, { | |||
229 | }, | 229 | }, |
230 | handlePaste : { | 230 | handlePaste : { |
231 | value: function(e) { | 231 | value: function(e) { |
232 | e.preventDefault(); | ||
233 | document.execCommand('insertHTML', null, e._event.clipboardData.getData("Text")); | ||
232 | this._sendEvent('paste', e); | 234 | this._sendEvent('paste', e); |
233 | } | 235 | } |
234 | }, | 236 | }, |