Get your own copy
Don't hesitate! Just download and test it all by yourself for free!
var writer = new tinymce.html.Writer({indent : true});
var parser = new tinymce.html.SaxParser(writer).parse('<p><br></p>');
console.log(writer.getContent());
| Method | Defined By |
|---|---|
|
Constructs a new Writer instance.
|
tinymce.html.Writer |
|
Writes the a start element such as .
|
tinymce.html.Writer |
|
Writes the a end element such as .
|
tinymce.html.Writer |
|
Writes a text node.
|
tinymce.html.Writer |
|
Writes a cdata node such as .
|
tinymce.html.Writer |
|
Writes a comment node such as .
|
tinymce.html.Writer |
|
Writes a PI node such as .
|
tinymce.html.Writer |
|
Writes a doctype node such as .
|
tinymce.html.Writer |
|
Resets the internal buffer if one wants to reuse the writer.
|
tinymce.html.Writer |
|
Returns the contents that got serialized.
|
tinymce.html.Writer |