Changelog

Redlines at Word's granularity

Document comparison now marks the changed words and phrases as tracked changes, the way Word does.

Redlines at Word's granularity

Compare two versions of a contract in Word and you get small redlines: one word struck, one word inserted, the rest of the sentence untouched. A comparison that marks whole paragraphs instead strikes the old paragraph and inserts a new copy. The reviewer has to find the difference by eye, and accepting one fix means accepting every other change in that paragraph.

SuperDoc's document comparison now writes tracked changes for the words that changed, matching Word.

Compare two documents into word-level redlines

Capture the revised document, compare it against the open base, and apply the result as tracked changes:

const targetSnapshot = await targetDoc.diff.capture();
const diff = await baseDoc.diff.compare({ targetSnapshot });

await baseDoc.diff.apply({ diff, changeMode: 'tracked' });

When a sentence changes in a few places, each changed word or contiguous phrase becomes its own tracked insertion or deletion, so a reviewer can accept one fix and reject the next. A paragraph rewritten almost entirely is still reviewed as one replacement.

Comparison fixes in this release

  • DOCX metadata, REF fields, and tracked paragraph marks replay correctly when a comparison is applied.
  • Anchor identity, geometry, and citations survive comparison.
  • Header and footer changes no longer block an apply when nothing in them changed.
  • Note parts that contain only default content compare cleanly.

Current guides