add text at cursor position

3 posts, 1 answers
  1. Jeff
    Jeff avatar
    10 posts
    Member since:
    Dec 2010

    Posted 21 Aug 2013 Link to this post

    Hello,

    I know there is an InnertHtml button and I need to build the same functionality. working on other elements. 
    How can I add text to the Kendo UI MVC Editor at the cursor position ?
  2. Answer
    Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 22 Aug 2013 Link to this post

    Hi Stuart,

    The Custom Tools demo shows how to do this:

    http://demos.kendoui.com/web/editor/custom-tools.html

    editor.exec("inserthtml", { value: "..........." });


    Regards,
    Dimo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Jeff
    Jeff avatar
    10 posts
    Member since:
    Dec 2010

    Posted 22 Aug 2013 Link to this post

    perfect, thank you
Back to Top