This is a migrated thread and some comments may be shown as answers.

Changing inserted text with track changes

4 Answers 48 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 10 Jul 2013, 12:54 PM
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

4 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 15 Jul 2013, 12:07 PM
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.
0
Matt
Top achievements
Rank 1
answered on 15 Jul 2013, 01:51 PM
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!
0
Ianko
Telerik team
answered on 17 Jul 2013, 11:55 AM
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.
0
Matt
Top achievements
Rank 1
answered on 17 Jul 2013, 12:00 PM
Hi Lanko

Thanks for the update. I figured that might be the case - will keep my eye on it!
Tags
Editor
Asked by
Matt
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Matt
Top achievements
Rank 1
Share this question
or