Editor custom format

2 posts, 0 answers
  1. Dennis
    Dennis avatar
    24 posts
    Member since:
    Oct 2012

    Posted 05 Apr 2013 Link to this post

    Is there a way to add my own fromat tool item and customize it's behavior?
    I want my custom item for example that wraps everything in a qutoation and gives the qutation a specific class
    I couldn't find anything about this in the documentation, but i notice that the demo example has a modified format tool with the 'fieldset' item which is not part of the regular format tools.
  2. Daniel
    Daniel avatar
    2173 posts

    Posted 09 Apr 2013 Link to this post

    Hello Dennis,

    You could create a custom tool that formats the current selection which can be found with the selectedHtml and then replaces the selection with the insertHtml command as demonstrated in the demo.

    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top