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

DiffEngine HTML Comparison Issues

1 Answer 88 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 03 Mar 2009, 06:02 PM
I have been evaluating the usage of the new DiffEngine - which is great by the way - but I've noticed some inconsistencies that I was hoping to get some help with. 

Let's say my original value is: "<span>SOME TEXT</span>"
And my modified value is: "<span><strong>SOME TEXT</strong></span>"
(i.e. I bolded the text)

The DiffEngine will currently not register a difference between these two pieces of text.  Is there a way to test for these types of differences with the DiffEngine?  I tried playing around with the Parser object property on the DiffEngine, but was not able to figure out the solution.  Any help would be highly appreciated....... thanks!

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 06 Mar 2009, 04:24 PM
Hello Ben,

Thank you for reporting this limitation of the Track Changes tool.

The Track changes tool does not handle all scenarios with content formatting. Due to the multiple limitations in the web environment it is extremely hard to implement this functionality to recognize the bold, italic and underline formatting. If you select part of the word then the track change will display the change, but if the whole word is selected the tool will not show it.

I logged the requested feature in our todo list and hopefully will be able to implement it for one of the future versions of RadEditor for ASP.NET AJAX.


Best regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Ben
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or