Roo/form/HtmlEditor.js
authorAlan <alan@roojs.com>
Fri, 31 Dec 2021 03:04:27 +0000 (11:04 +0800)
committerAlan <alan@roojs.com>
Fri, 31 Dec 2021 03:04:27 +0000 (11:04 +0800)
Roo/form/HtmlEditor.js

index 692f07e..514f12b 100644 (file)
@@ -91,11 +91,19 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
      */
     allowComments: false,
     /**
-     * @cfg {string} bodyCls- default '' default classes to add to body of editable area - usually undoreset is a good start..
+     * @cfg {boolean} enableBlocks - default true - if the block editor (table and figure should be enabled)
      */
+    enableBlocks : true,
     
-    
-     bodyCls : '',
+    /**
+     * @cfg {boolean} autoClean - default true - loading and saving will remove quite a bit of formating,
+     *         if you are doing an email editor, this probably needs disabling, it's designed
+     */
+    autoClean: true,
+    /**
+     * @cfg {string} bodyCls- default '' default classes to add to body of editable area - usually undoreset is a good start..
+     */
+    bodyCls : '',
     
     // id of frame..
     frameId: false,