Closed ramlaxmanyadav closed 2 years ago
I like this idea, but I think the DocumentDiffViewer
class needs configuration options or callbacks, so users can set their own CSS classes.
Going to close this, no offense. I think this should be a separate library or tool. Also, I could see others wanting a visual-diff, similar to how GitHub displays diffs of code, where the XML/HTML is displayed raw with a red or green background color.
Hello,
I have added the functionality for add custom css classes on added and removed text and elements into a document. Please review the code and accept the pull request.
Thanks