Last Updated: 21 Aug 2019 07:11 by ADMIN
Created on: 14 Aug 2019 12:36
Category: Editor (beta)
Type: Feature Request
Add support to insert custom html (through method) to editor component (<code> tag support)

I need to insert custom html to editor component.

I would like to add custom button which triggers popup with text area. Entered text should then be inserted where current focus is inside <code> tag.

As I see it, this can be done in 2 ways:

  • add another editor command insertHtml (current are bold, insertUnorderedList, createLink, insertFile, ... , fontSize, setHTML)
    This would probably required more time, but would support practically any html code in editor.
  • add support for <code> tag to format command (currently supported are: p, blockquote, h1-h6)
    This would required a lot less time to implement then the first suggestion, but it adds only one feature to editor.
    This feature would be enough for me.

All information was copied from docs.

1 comment
Dimiter Topalov
Posted on: 21 Aug 2019 07:11
Hello Matjaž,

Thank you for the provided suggestions. We are currently adding support for more HTML tags as a part of the features planned for the next official release in May. Support for the <code> tag is not among our immediate priorities, but we will definitely do our best to provide this enhancement as soon as possible too.

Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.