how to get newly added lines in kendo editor using jquery

2 posts, 0 answers
  1. Jan
    Jan avatar
    1 posts
    Member since:
    Oct 2014

    Posted 25 Mar 2015 Link to this post


    I am creating a custom email editor using kendo editor  to implement the forward email functionality like outlook so if user click on forward
    button then some text should be added automatically like below

    From: nameXXXX []

    Sent: Monday, March 23, 2015 5:00 PM


    Subject: test

    and user can add new text line as a forward message.

    So please suggest me how to find the newly added text from
    Kendo Editor using jquery.

    Please see the snap.

  2. Dimo
    Dimo avatar
    8406 posts

    Posted 27 Mar 2015 Link to this post

    Hello Jan,

    The Editor content is HTML markup, which is placed inside the widget's editable area, i.e. Editor "body":

    Once you have the Editor body, you can find the desired content by using standard jQuery selectors and DOM traversal methods.

    The exact way to find the desired content (DOM elements) depends on the exact scenario and your preferences.

    It is worth mentioning that since the user has full control over the editable area's content, there is never a guarantee that particular content will be present or found in a specific way.

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