BUG: Editor Change event doesn't fire when insert link box inserts link

4 posts, 0 answers
  1. Nathan
    Nathan avatar
    41 posts
    Member since:
    Sep 2011

    Posted 22 Nov 2016 Link to this post

    As per the title, the KendoEditor "Change" event doesn't fire when insert link box actually inserts the link.

    It gets fired if the focus changes afterward though... even if you click the start button.

    You can actually see this in the KendoUI demonstration page: http://demos.telerik.com/kendo-ui/editor/events

     

    The problem with this is if you need to enable a save button so they can save the changes, they have to click somewhere first.

  2. Rumen
    Admin
    Rumen avatar
    13006 posts

    Posted 23 Nov 2016 Link to this post

    Hello,

    I tested the events demo http://screencast.com/t/PUDVgNmdGB and noticed that the select event is fired after inserting a link from the Insert Link dialog. The same select event is fired when firing the other commands too.

    The change event is fired when the editor is blured, i.e. when you click outside of the editor.

    Best regards,
    Rumen
    Telerik by Progress
    Kendo UI is ready for Visual Studio 2017 RC! Learn more.
  3. Nathan
    Nathan avatar
    41 posts
    Member since:
    Sep 2011

    Posted 23 Nov 2016 in reply to Rumen Link to this post

    Nobody wants to be using the SELECT even to try to look for changes.  Change & KeyUp maybe, but not select.  This seems like something pretty obvious people would expect the control to be able to... to let you pick up on when the contents has changed?

    If you use the select event the code will be firing when they use the cursors to move around the contents.  It will run like a dog.  Some proper event needs to fire after the buttons etc change the contents.

  4. Rumen
    Admin
    Rumen avatar
    13006 posts

    Posted 25 Nov 2016 Link to this post

    Hi Nathan,

    As explained in the documentation the change event of Kendo Editor fires when Editor is blurred and its content has changed. The event behavior is quite similar to the onchange event of the standard <input type="text"> HTML element as you can test here.

    If you insert a link the content is changed and once the editor is blured, the change event will be triggered to note the change.

    If you think that there is a need of a new client event, please submit your feature request in the Kendo User Voice feedback portal.

    Best regards,
    Rumen
    Telerik by Progress
    Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Back to Top