Cursor position in Editor

Originally Posted 2 April 2014, 9:07 am EST

  • Originally Posted 2 April 2014, 9:07 am EST


    I want to add C1RibbonDropDownListButton to C1Editor where selection of an item will insert a tag to the html.
    In commandButtonClick event I get the selected item but I want to insert the tag according to the selection of the text in the editor: in the current cursor position or replace the current selected text.
    I checked the e parameter but did not find any clue for this information there.

    How can I do that?

  • Marked as Answer


    Hello Guy,

    You may refer to a similar implementation with WijEditor which is explained in our blog:

    Let me know if this helps.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels