@manuscripts/track-changes-plugin 0.4.4-LEAN-1839 → 0.4.4-LEAN-1839-v2

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.cjs CHANGED
@@ -1662,13 +1662,13 @@ function trackTransaction(tr, oldState, newTr, authorID) {
1662
1662
  return;
1663
1663
  }
1664
1664
  else if (step instanceof prosemirrorTransform.ReplaceStep) {
1665
- let [steps, startPos] = trackReplaceStep(step, oldState, newTr, emptyAttrs);
1666
1665
  const { slice } = step;
1667
1666
  if (((_b = (_a = slice === null || slice === void 0 ? void 0 : slice.content) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.length) === 1 &&
1668
1667
  isHighlightMarkerNode(slice.content.content[0])) {
1669
1668
  // don't track highlight marker nodes
1670
1669
  return;
1671
1670
  }
1671
+ let [steps, startPos] = trackReplaceStep(step, oldState, newTr, emptyAttrs);
1672
1672
  log.info('CHANGES: ', steps);
1673
1673
  // deleted and merged really...
1674
1674
  const deleted = steps.filter((s) => s.type !== 'insert-slice');
package/dist/index.js CHANGED
@@ -1654,13 +1654,13 @@ function trackTransaction(tr, oldState, newTr, authorID) {
1654
1654
  return;
1655
1655
  }
1656
1656
  else if (step instanceof ReplaceStep) {
1657
- let [steps, startPos] = trackReplaceStep(step, oldState, newTr, emptyAttrs);
1658
1657
  const { slice } = step;
1659
1658
  if (((_b = (_a = slice === null || slice === void 0 ? void 0 : slice.content) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.length) === 1 &&
1660
1659
  isHighlightMarkerNode(slice.content.content[0])) {
1661
1660
  // don't track highlight marker nodes
1662
1661
  return;
1663
1662
  }
1663
+ let [steps, startPos] = trackReplaceStep(step, oldState, newTr, emptyAttrs);
1664
1664
  log.info('CHANGES: ', steps);
1665
1665
  // deleted and merged really...
1666
1666
  const deleted = steps.filter((s) => s.type !== 'insert-slice');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manuscripts/track-changes-plugin",
3
- "version": "0.4.4-LEAN-1839",
3
+ "version": "0.4.4-LEAN-1839-v2",
4
4
  "author": "Atypon Systems LLC",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/Atypon-OpenSource/manuscripts-quarterback/tree/main/quarterback-packages/track-changes-plugin",