jQuery.PrettyTextDiff
jQuery.PrettyTextDiff copied to clipboard
A wrapper around Google's diff_match_patch library, to make life easy
on Diff by Two Table withs Tab's the output has a what does not belong there output (updateChange) the before Dog Days is too much ``` Dog Days'' Dog Days''...
Adicionei uma opção a mais no settings chamada isHtml, como default false para não ter impacto para quem já usa o plugin, setando para true a sintaxe html no texto...
Tha latest release (1.0.4) is not present on the jquery plugins website: http://plugins.jquery.com/pretty-text-diff/ Thank you!
The use of « getAttributeNode() »is deprecated. Use « getAttribute() » à la place. _dist-editor.js:2:25246 L’utilisation de « getPreventDefault() » est obsolète. Utiliser « defaultPrevented » à la place. jquery-1.9.1.js:3346:28...
When one of the two values are empty, the diff is not shown in case of originalContent and changedContent are passed as parameters. Example (pass an empty originalContent): $("input[type=button2]").click(function ()...
Setting originalContent and changedContent didn't work for me. I changed these two lines: ``` coffee-script original = $(settings.originalContainer, this).text(); changed = $(settings.changedContainer, this).text(); ``` ... to ``` coffee-script original =...
Is it possible to show text formatting diff?
```js $("input[type=button1]").click(function () { $("#wrapper tr").prettyTextDiff({ cleanup: $("#cleanup").is(":checked"), diffContainer: false, //setting false or null debug:true, }); }); ``` **Example:** https://jsfiddle.net/rym8c2f0/ 