Roo/form/HtmlEditor.js
authorAlan Knowles <alan@roojs.com>
Wed, 28 Jul 2021 05:01:26 +0000 (13:01 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Jul 2021 05:01:26 +0000 (13:01 +0800)
Roo/form/HtmlEditor.js

index b632412..3e973cd 100644 (file)
@@ -86,6 +86,10 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
      * 
      */
     white: false,
+    /**
+     * @cfg {boolean} allowComments - default false - allow comments in HTML source - by default they are stripped - if you are editing email you may need this.
+     */
+    allowComments: false,
     
     // id of frame..
     frameId: false,