Namespace | tinymce.html |
Class | Serializer |
This class is used to serialize down the DOM tree into a string using a Writer instance.Version:3.4
Example
Public Methods
Method | Defined By |
---|---|
Serializer(settings:Object, schema:Schema) : Constructs a new Serializer instance. | Serializer |
serialize(node:Node):String : Serializes the specified node into a string. | Serializer |
Method details
Serializer
public function Serializer(settings:Object, schema:Schema)
Constructs a new Serializer instance.
Parameters
Param | Detail |
---|---|
settings:Object | Name/value settings object. |
schema:Schema | Schema instance to use. |
serialize
public function serialize(node:Node):String
Serializes the specified node into a string.
Parameters
Param | Detail |
---|---|
node:Node | Node instance to serialize. |
Returns
String - String with HTML based on DOM tree.
Example
Was this article helpful? Yes - No
Well, that's awkward . Would you mind opening an issue or helping us out?
Thanks for the feedback!
Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.