adding additional ol command

2 posts, 0 answers
  1. Benjamin
    Benjamin avatar
    51 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
    1535 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. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top