|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--TinyMCE_Cleanup
Defined in TinyMCE_Cleanup.class.js
| Constructor Summary | |
TinyMCE_Cleanup
()
TinyMCE_Cleanup class. |
|
| Method Summary | |
void
|
addRuleStr(<string> s)
Adds a cleanup rule string, for TinyMCE_Cleanup.prototype.example = a;[href|name|title=title|class=class1?class2?class3]. |
string
|
formatHTML(<string> h)
Applies source formatting/indentation on the specified HTML string. |
void
|
init(<Array> s)
Initializes the cleanup engine with the specified config. |
Array
|
parseRuleStr(<string> s)
Parses a cleanup rule string, for TinyMCE_Cleanup.prototype.example = a;[href|name|title=title|class=class1?class2?class3]. |
string
|
serializeNodeAsHTML(<HTMLNode> n)
Serializes the specified node as a XHTML string. |
string
|
serializeNodeAsXML(<HTMLNode> n)
Serializes the specified node as a HTML string. |
string
|
split(<RegEx> re, <string> s)
Splits the specified string and removed empty chunks. |
string
|
xmlEncode(<string> s)
XML Encodes the specified string based on configured entity encoding. |
| Constructor Detail |
TinyMCE_Cleanup()
| Method Detail |
void addRuleStr(<string> s)
s - Rule string to parse and add to the cleanup rules array.
string formatHTML(<string> h)
h - HTML string to apply formatting to.
void init(<Array> s)
s - Name/Value array with config settings.
Array parseRuleStr(<string> s)
s - Rule string to parse as a name/value rule array.
string serializeNodeAsHTML(<HTMLNode> n)
n - Node to serialize as a XHTML string.
string serializeNodeAsXML(<HTMLNode> n)
n - Node to serialize as a XHTML string.
string split(<RegEx> re, <string> s)
re - RegEx to split string by.
s - String value to split.
string xmlEncode(<string> s)
s - String to convert to XML.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||