Kendo Editor – How to handle line-height

By | November 4, 2017

Kendo Editor – How to handle line-height

We can do it by configuring the stylesheet property of the editor, and then configuring the tools that will apply the styles to the selected content.

$("#editor").kendoEditor({
  tools: [
    { name: "formatting", items: [
      { text: "Error", value: ".Error" },
      { text: "OK", value: ".OK" },
      { text: "Inline Code", value: ".inCode" }
    ] }
  ],
  stylesheets: [
    "../../content/web/editor/editorStyles.css"
  ]
});

Leave a Reply

Your email address will not be published. Required fields are marked *