roojs-debug.js
authoredward <edward@roojs.com>
Mon, 26 Mar 2018 04:08:09 +0000 (12:08 +0800)
committeredward <edward@roojs.com>
Mon, 26 Mar 2018 04:08:09 +0000 (12:08 +0800)
roojs-debug.js

index f9586a2..e80e40a 100644 (file)
@@ -42853,12 +42853,17 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
             'IMG { cursor: pointer } ' +
         '</style>';
 
+        var cls = 'roo-htmleditor-body';
+        
+        if(this.bodyCls.length){
+            cls += ' ' + this.bodyCls;
+        }
         
         return '<html><head>' + st  +
             //<style type="text/css">' +
             //'body{border:0;margin:0;padding:3px;height:98%;cursor:text;}' +
             //'</style>' +
-            ' </head><body class="roo-htmleditor-body"></body></html>';
+            ' </head><body class="' +  cls + '"></body></html>';
     },
 
     // private