diff options
Diffstat (limited to 'js/panels/css-panel')
-rw-r--r-- | js/panels/css-panel/styles-view-delegate.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/panels/css-panel/styles-view-delegate.js b/js/panels/css-panel/styles-view-delegate.js index 04d0ca09..e00d7fca 100644 --- a/js/panels/css-panel/styles-view-delegate.js +++ b/js/panels/css-panel/styles-view-delegate.js | |||
@@ -199,11 +199,11 @@ exports.StylesViewMediator = Montage.create(Component, { | |||
199 | 199 | ||
200 | handlePaste : { | 200 | handlePaste : { |
201 | value: function(e) { | 201 | value: function(e) { |
202 | var text = document.execCommand('insertHTML', null, e._event.clipboardData.getData("Text")).trim(); | 202 | // var text = document.execCommand('insertHTML', null, e._event.clipboardData.getData("Text")).trim(); |
203 | 203 | // | |
204 | if(text.matches(/([a-zA-Z-]+:[a-zA-Z-]+){,1}/)) { | 204 | // if(text.matches(/([a-zA-Z-]+:[a-zA-Z-]+){,1}/)) { |
205 | 205 | // | |
206 | } | 206 | // } |
207 | } | 207 | } |
208 | }, | 208 | }, |
209 | 209 | ||