<kendo:editor-deserialization>

Fine-tune deserialization in the Editor widget. Deserialization is the process of parsing the HTML string input from the value() method or from the viewHtml dialog into editable content.

Example

<kendo:editor>
    <kendo:editor-deserialization></kendo:editor-deserialization>
</kendo:editor>

Configuration Attributes

custom java.lang.String

Callback that allows custom deserialization to be plugged in. The method accepts string as the only parameter and is expected to return the modified content as string as well.

Example

<kendo:editor-deserialization custom="custom">
</kendo:editor-deserialization>

Event Attributes

custom String

Callback that allows custom deserialization to be plugged in. The method accepts string as the only parameter and is expected to return the modified content as string as well.

Example

<kendo:editor-deserialization custom="handle_custom">
</kendo:editor-deserialization>
<script>
    function handle_custom(e) {
        // Code to handle the custom event.
    }
</script>

Event Tags

kendo:editor-deserialization-custom

Callback that allows custom deserialization to be plugged in. The method accepts string as the only parameter and is expected to return the modified content as string as well.

Example

<kendo:editor-deserialization>
    <kendo:editor-deserialization-custom>
        <script>
            function(e) {
                // Code to handle the custom event.
            }
        </script>
    </kendo:editor-deserialization-custom>
</kendo:editor-deserialization>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy