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
  }
});
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log($("#editor").data("kendoEditor").value()); // logs "Check out <i>this</i> <b>kata</b>.",
</script>
In this article