Roo/form/HtmlEditor.js
authorEdward <edward@roojs.com>
Thu, 8 May 2014 06:52:51 +0000 (14:52 +0800)
committerEdward <edward@roojs.com>
Thu, 8 May 2014 06:52:51 +0000 (14:52 +0800)
Roo/form/HtmlEditor.js

index f1dbd7c..40c7288 100644 (file)
@@ -149,7 +149,13 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
              * Auto save the htmlEditor value as a file into Events
              * @param {HtmlEditor} this
              */
-            autosave: true
+            autosave: true,
+            /**
+             * @event savedpreview
+             * preview the saved version of htmlEditor
+             * @param {HtmlEditor} this
+             */
+            savedpreview: true
         });
         this.defaultAutoCreate =  {
             tag: "textarea",