<kendo:editor-serialization>
Allows setting of serialization options.
Example
<kendo:editor>
<kendo:editor-serialization></kendo:editor-serialization>
</kendo:editor>
Configuration Attributes
custom java.lang.String
Define custom serialization for the editable content. The method accepts a single parameter as a string and is expected to return a string.
Example
<kendo:editor-serialization custom="custom">
</kendo:editor-serialization>
entities boolean
Indicates whether the characters outside the ASCII range will be encoded as HTML entities. By default, they are encoded.
Example
<kendo:editor-serialization entities="entities">
</kendo:editor-serialization>
optimizeTags boolean
Indicates whether optizable tags should be removed from the DOM. Currently, optimizable tags are span and font elements with no attributes and no decoration or formatting applied (via inline styles/attributes).
Example
<kendo:editor-serialization optimizeTags="optimizeTags">
</kendo:editor-serialization>
scripts boolean
Indicates whether inline scripts will be serialized and posted to the server.
Example
<kendo:editor-serialization scripts="scripts">
</kendo:editor-serialization>
semantic boolean
Indicates whether the font styles will be saved as semantic (strong / em / span) tags, or as presentational (b / i / u / font) tags. Used for outputting content for legacy systems.
Example
<kendo:editor-serialization semantic="semantic">
</kendo:editor-serialization>
Event Attributes
custom String
Define custom serialization for the editable content. The method accepts a single parameter as a string and is expected to return a string.
Example
<kendo:editor-serialization custom="handle_custom">
</kendo:editor-serialization>
<script>
function handle_custom(e) {
// Code to handle the custom event.
}
</script>
Event Tags
kendo:editor-serialization-custom
Define custom serialization for the editable content. The method accepts a single parameter as a string and is expected to return a string.
Example
<kendo:editor-serialization>
<kendo:editor-serialization-custom>
<script>
function(e) {
// Code to handle the custom event.
}
</script>
</kendo:editor-serialization-custom>
</kendo:editor-serialization>