docxmlater 10.1.7 → 10.1.8
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/package.json
CHANGED
package/src/core/Document.ts
CHANGED
|
@@ -6190,7 +6190,11 @@ export class Document {
|
|
|
6190
6190
|
// Direct run
|
|
6191
6191
|
runs.push(item);
|
|
6192
6192
|
} else if (item instanceof Revision) {
|
|
6193
|
-
//
|
|
6193
|
+
// Skip deleted/moved-away content — these runs are inactive
|
|
6194
|
+
const revType = item.getType();
|
|
6195
|
+
if (revType === 'delete' || revType === 'moveFrom') {
|
|
6196
|
+
continue;
|
|
6197
|
+
}
|
|
6194
6198
|
const revisionRuns = item.getRuns();
|
|
6195
6199
|
runs.push(...revisionRuns);
|
|
6196
6200
|
} else if (item instanceof Hyperlink) {
|