docx-diff-editor 1.0.55 → 1.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3295,11 +3295,12 @@ var DocxDiffEditor = react.forwardRef(
|
|
|
3295
3295
|
);
|
|
3296
3296
|
const merged = structuralResult.mergedDoc;
|
|
3297
3297
|
const structInfos = structuralResult.structuralInfos;
|
|
3298
|
-
|
|
3298
|
+
const normalizedMerged = normalizeRunProperties(merged);
|
|
3299
|
+
setMergedJson(normalizedMerged);
|
|
3299
3300
|
const diff = diffDocuments(cleanBaseline, cleanNewJson);
|
|
3300
3301
|
setDiffResult(diff);
|
|
3301
3302
|
if (superdocRef.current?.activeEditor) {
|
|
3302
|
-
setEditorContent(superdocRef.current.activeEditor,
|
|
3303
|
+
setEditorContent(superdocRef.current.activeEditor, normalizedMerged);
|
|
3303
3304
|
enableReviewMode(superdocRef.current);
|
|
3304
3305
|
const sd = superdocRef.current;
|
|
3305
3306
|
if (sd.commentsStore?.processLoadedDocxComments) {
|