Roo/HtmlEditorCore.js
[roojs1] / 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.