adding additional ol command

2 posts, 0 answers
  1. Benjamin
    Benjamin avatar
    42 posts
    Member since:
    Jul 2016

    Posted 27 Jul Link to this post

    Hi. i would like to know how do i create a custom button for a dash bullet point

    i added the following to my tool file

    <tool name="dash_bullet" Text="Dash Bullet Point" />


    i am stuck at the JS portion

    Telerik.Web.UI.Editor.CommandList["dash_bullet"] = function (commandName, editor, args) {
            // what to type here?

  2. Ianko
    Ianko avatar
    1507 posts

    Posted 01 Aug Link to this post

    Hello Benjamin,



    1. Fire the command ( to create a bullet list (InsertUnorderedList);
    2. Get the selected element;
    3. Find the element you need to modify and apply the needed DOM operation to it.


    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
Back to Top