Copy & paste

2 posts, 0 answers
  1. Niels
    Niels avatar
    13 posts
    Member since:
    May 2015

    Posted 03 Aug 2015 Link to this post


    I'm using the diagram control to visualize an underlying model. The user can then drag new elements onto the diagram and the underlying model is updated accordingly.

    But when the user uses Ctrl+C to copy and then Ctrl+V to paste some elements the diagram looks okay but the underlying model isn't updated. Is it possible to either listen for the paste event and then update the underlying model or disable pasting entirely?



  2. T. Tsonev
    T. Tsonev avatar
    2794 posts

    Posted 05 Aug 2015 Link to this post


    How is the data source configured for the diagram?

    I've tried the Editing demo with shapes / connections data sources and it seems to persist changes correctly.
    You can look at the browser network console to confirm.

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