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.mjs
CHANGED
|
@@ -3287,11 +3287,12 @@ var DocxDiffEditor = forwardRef(
|
|
|
3287
3287
|
);
|
|
3288
3288
|
const merged = structuralResult.mergedDoc;
|
|
3289
3289
|
const structInfos = structuralResult.structuralInfos;
|
|
3290
|
-
|
|
3290
|
+
const normalizedMerged = normalizeRunProperties(merged);
|
|
3291
|
+
setMergedJson(normalizedMerged);
|
|
3291
3292
|
const diff = diffDocuments(cleanBaseline, cleanNewJson);
|
|
3292
3293
|
setDiffResult(diff);
|
|
3293
3294
|
if (superdocRef.current?.activeEditor) {
|
|
3294
|
-
setEditorContent(superdocRef.current.activeEditor,
|
|
3295
|
+
setEditorContent(superdocRef.current.activeEditor, normalizedMerged);
|
|
3295
3296
|
enableReviewMode(superdocRef.current);
|
|
3296
3297
|
const sd = superdocRef.current;
|
|
3297
3298
|
if (sd.commentsStore?.processLoadedDocxComments) {
|