0 results found

tinymce.html.Serializer

Contribute to this page
Namespacetinymce.html
ClassSerializer

This class is used to serialize down the DOM tree into a string using a Writer instance.Version:3.4

Example

Public Methods

MethodDefined 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

ParamDetail
settings:ObjectName/value settings object.
schema:SchemaSchema instance to use.

serialize

public function serialize(node:Node):String
Serializes the specified node into a string.

Parameters

ParamDetail
node:NodeNode instance to serialize.

Returns
String - String with HTML based on DOM tree.

Example

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.