The blog has moved to the new site F10Debug.com

Wednesday, October 25, 2017

Change line height in Kendo UI Web editor

Change line height in Kendo UI Web editor

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"
  ]
});

No comments:

Post a Comment