Changing inserted text with track changes

5 posts, 0 answers
  1. Matt
    Matt avatar
    6 posts
    Member since:
    Jul 2013

    Posted 10 Jul 2013 Link to this post

    We've implemented the RadEditor control with track changes switched on and were hoping that the following scenario would be possible:

    1. User A adds some text, which is recorded as an insert.
    2. User B edits the inserted text by adding some more inside it, which causes a nested insert.

    What we've found is that actually, the second edit won't allow changes to be made to the text User A inserted, and any additional text falls outside that original insert.

    Is this by design, or is there a way to get it working?


    Thanks,

    Matt
  2. Ianko
    Admin
    Ianko avatar
    1857 posts

    Posted 15 Jul 2013 Link to this post

    Hello Matt,

    I tried to reproduce the problem, but to no avail. I created a sample project simulating multiple users to reproduce the described issue and everything is working as expected. I am attaching a short clip and the sample project I used, so you could check the setup I am using and the test process.

    After reviewing the clip and the setup please get back to me if you still encounter some issues.

    Regards,
    Ianko
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. Matt
    Matt avatar
    6 posts
    Member since:
    Jul 2013

    Posted 15 Jul 2013 Link to this post

    Hi Lanko

    Thanks for your reply, and for the sample files and video - really appreciate your help with this.

    It's possible that I didn't explain the problem as clearly as I could have done. The main issue is that once User 1 adds some text, User 2 cannot edit that text in any way until it's committed, which is what I think you can do in Word.

    Here's a more detailed step-by-step:

    1. User 1 adds the text "User One", which generates a new <ins> tag in the HTML.
    2. User 2 clicks within that text (let's say just after the first word (imagine the following pipe is the caret): "User| One".
    3. User 2 than types the word "Elephant".

    I believe in Word, this would effectively create a nested <ins>, meaning that you then have two pending changes; one inside the other. But when I do this with the RADEditor, as soon as you try to add that new word, the caret instantly jumps to the end of the currently selected change. So you actually end up with "User OneElephant".

    I'm assuming this is simply by design, but would be great to know if it's possible!
  4. Ianko
    Admin
    Ianko avatar
    1857 posts

    Posted 17 Jul 2013 Link to this post

    Hello Matt,

    The same issue is already logged in our database and we will do our best to have it fixed for one of the upcoming releases. You can follow the status of this issue, comment and vote in this feedback portal.

    Regards,
    Ianko
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  5. Matt
    Matt avatar
    6 posts
    Member since:
    Jul 2013

    Posted 17 Jul 2013 Link to this post

    Hi Lanko

    Thanks for the update. I figured that might be the case - will keep my eye on it!
Back to Top