Roo/HtmlEditorCore.js
authorAlan Knowles <alan@roojs.com>
Mon, 21 Dec 2015 07:59:26 +0000 (15:59 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 21 Dec 2015 07:59:26 +0000 (15:59 +0800)
Roo/HtmlEditorCore.js

index bcc5be3..b2282d5 100644 (file)
@@ -1290,7 +1290,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
                     return;
                 }
                 var kv = s.split(":");
-                if (kv[0].match(/^width|min-width/)) {
+                if (kv[0].match(/^\s*width|min-width\s*$/)) {
                     return;
                 }
                 // what ever is left... we allow.