Roo/HtmlEditorCore.js
authoredward <edward@roojs.com>
Mon, 26 Mar 2018 04:06:13 +0000 (12:06 +0800)
committeredward <edward@roojs.com>
Mon, 26 Mar 2018 04:06:13 +0000 (12:06 +0800)
Roo/HtmlEditorCore.js

index bfdc484..a9c68c3 100644 (file)
@@ -170,6 +170,11 @@ 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">' +