diff options
author | Eric Guzman | 2012-05-17 16:00:10 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-17 16:00:10 -0700 |
commit | d278cae39955e9897404f20c22bab567977ac685 (patch) | |
tree | e5a9a86dcfd33cf6bee2e3297befe418194eec21 | |
parent | 3a078974342ba1e206f92aba6ac83904e587f28d (diff) | |
download | ninja-d278cae39955e9897404f20c22bab567977ac685.tar.gz |
CSS Panel - comment out paste handler for now
-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 | ||