Roo/htmleditor/Tidy.js
authorAlan <alan@roojs.com>
Thu, 6 Jan 2022 09:24:38 +0000 (17:24 +0800)
committerAlan <alan@roojs.com>
Thu, 6 Jan 2022 09:24:38 +0000 (17:24 +0800)
Roo/htmleditor/Tidy.js

index b89d434..b4489d9 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * @class Roo.htmleditor.Tidy
  * Tidy HTML 
- * @cfg {Roo.HtmlEditorCore} core the editor.
+ * 
  * @constructor
  * Create a new Filter.
  * @param {Object} config Configuration options
@@ -23,12 +23,19 @@ Roo.htmleditor.Tidy.toString = function(node)
 
 Roo.htmleditor.Tidy.prototype = {
     
+    /**
+     *
+     * @cfg {Roo.HtmlEditorCore} core the editor.
+     */
+    core : false,
     
-     
 
     
     tidy : function(node, indent) {
-     
+        new Roo.htmleditor.TidySerializer({
+            indent : 2,
+        });
+        
          
     
     }