projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a24d8c
)
Roo/htmleditor/Tidy.js
author
Alan
<alan@roojs.com>
Thu, 6 Jan 2022 09:24:38 +0000
(17:24 +0800)
committer
Alan
<alan@roojs.com>
Thu, 6 Jan 2022 09:24:38 +0000
(17:24 +0800)
Roo/htmleditor/Tidy.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/Tidy.js
b/Roo/htmleditor/Tidy.js
index
b89d434
..
b4489d9
100644
(file)
--- a/
Roo/htmleditor/Tidy.js
+++ b/
Roo/htmleditor/Tidy.js
@@
-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,
+ });
+
}