serialization.semantic Boolean (default: true)

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

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
  value: "Check out <em>this</em> <strong>kata</strong>.",
  serialization: {
    semantic: false
  }
});
console.log($("#editor").data("kendoEditor").value()); // logs "Check out <i>this</i> <b>kata</b>.",
</script>
In this article
Not finding the help you need? Improve this article