<kendo:editor-immutables>
If enabled, the editor disables the editing and command execution in elements marked with editablecontent="false" attribute.
Example
<kendo:editor>
<kendo:editor-immutables></kendo:editor-immutables>
</kendo:editor>
Configuration Attributes
deserialization java.lang.String
Callback that allows custom deserialization of an immutable element. The callback accepts two arguments. The DOM element representing the immutable element in the html view and the immutable DOM element, which will be restored.
Example
<kendo:editor-immutables deserialization="deserialization">
</kendo:editor-immutables>
serialization java.lang.String
Kendo template or a callback that allows custom serialization of an immutable element. The callback accepts DOM element as only parameter and is expected to return the HTML source of a DOM element.
Example
<kendo:editor-immutables serialization="serialization">
</kendo:editor-immutables>
Event Attributes
deserialization String
Callback that allows custom deserialization of an immutable element. The callback accepts two arguments. The DOM element representing the immutable element in the html view and the immutable DOM element, which will be restored.
Example
<kendo:editor-immutables deserialization="handle_deserialization">
</kendo:editor-immutables>
<script>
function handle_deserialization(e) {
// Code to handle the deserialization event.
}
</script>
serialization String
Kendo template or a callback that allows custom serialization of an immutable element. The callback accepts DOM element as only parameter and is expected to return the HTML source of a DOM element.
Example
<kendo:editor-immutables serialization="handle_serialization">
</kendo:editor-immutables>
<script>
function handle_serialization(e) {
// Code to handle the serialization event.
}
</script>
Event Tags
kendo:editor-immutables-deserialization
Callback that allows custom deserialization of an immutable element. The callback accepts two arguments. The DOM element representing the immutable element in the html view and the immutable DOM element, which will be restored.
Example
<kendo:editor-immutables>
<kendo:editor-immutables-deserialization>
<script>
function(e) {
// Code to handle the deserialization event.
}
</script>
</kendo:editor-immutables-deserialization>
</kendo:editor-immutables>
kendo:editor-immutables-serialization
Kendo template or a callback that allows custom serialization of an immutable element. The callback accepts DOM element as only parameter and is expected to return the HTML source of a DOM element.
Example
<kendo:editor-immutables>
<kendo:editor-immutables-serialization>
<script>
function(e) {
// Code to handle the serialization event.
}
</script>
</kendo:editor-immutables-serialization>
</kendo:editor-immutables>