deserialization Object

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.

deserialization.custom Function

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.


<textarea id="editor"></textarea>
        deserialization: {
            custom: function(html) {
                return html.replace(/(<\/?)b(\s?)/, "$1strong$2");
In this article