Unplanned
Last Updated: 17 Jan 2020 07:23 by ADMIN
Seyfor
Created on: 14 Aug 2019 12:36
Category: Editor
Type: Feature Request
5
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.

3 comments
ADMIN
Dimiter Topalov
Posted on: 17 Jan 2020 07:23

Hi Matjaž,

Unfortunately, the support for the "CODE" tag enhancement did not make it into the R1 release as we were focusing on moving the Editor component out of its Beta phase into an official v.1 release:

https://www.telerik.com/kendo-angular-ui/components/editor/changelog/

Our developers acknowledged the enhancement as a nice one, and one that we would like to introduce in the future, but the management will have to reevaluate all requests based on the needs and estimated business value when planning the tasks for the next several months. We will update this thread accordingly when there is more information available.

Thank you for the understanding.

Regards,
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.
Seyfor
Posted on: 11 Jan 2020 06:56

Any chance this (code tag) gets to R1 2020?

I am using editor for writing documentation.

I need inline (in same line) and multi line support.

Something like StackOverflow/GitHub/GitLab/... supports (in attachment).

ADMIN
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.

Regards,
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.