@manuscripts/body-editor 3.10.12 → 3.10.13

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.
@@ -102,7 +102,7 @@ exports.default = (props) => new prosemirror_state_1.Plugin({
102
102
  $span.addEventListener('mousedown', handleActivate);
103
103
  $span.addEventListener('keydown', (0, navigation_utils_1.handleEnterKey)(handleActivate));
104
104
  return $span;
105
- }));
105
+ }, { key: `add-trans-${node.attrs.id || pos}` }));
106
106
  }
107
107
  }
108
108
  const isTransNode = node.type === transform_1.schema.nodes.trans_abstract ||
@@ -148,7 +148,7 @@ exports.default = (props) => new prosemirror_state_1.Plugin({
148
148
  $btn.addEventListener('mousedown', handleOpenMenu);
149
149
  }
150
150
  return $btn;
151
- }));
151
+ }, { key: `lang-selector-${node.attrs.id}` }));
152
152
  }
153
153
  });
154
154
  return prosemirror_view_1.DecorationSet.create(state.doc, widgets);
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MATHJAX_VERSION = exports.VERSION = void 0;
4
- exports.VERSION = '3.10.12';
4
+ exports.VERSION = '3.10.13';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -100,7 +100,7 @@ export default (props) => new Plugin({
100
100
  $span.addEventListener('mousedown', handleActivate);
101
101
  $span.addEventListener('keydown', handleEnterKey(handleActivate));
102
102
  return $span;
103
- }));
103
+ }, { key: `add-trans-${node.attrs.id || pos}` }));
104
104
  }
105
105
  }
106
106
  const isTransNode = node.type === schema.nodes.trans_abstract ||
@@ -146,7 +146,7 @@ export default (props) => new Plugin({
146
146
  $btn.addEventListener('mousedown', handleOpenMenu);
147
147
  }
148
148
  return $btn;
149
- }));
149
+ }, { key: `lang-selector-${node.attrs.id}` }));
150
150
  }
151
151
  });
152
152
  return DecorationSet.create(state.doc, widgets);
@@ -1,2 +1,2 @@
1
- export const VERSION = '3.10.12';
1
+ export const VERSION = '3.10.13';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.10.12";
1
+ export declare const VERSION = "3.10.13";
2
2
  export declare const MATHJAX_VERSION = "3.2.2";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/body-editor",
3
3
  "description": "Prosemirror components for editing and viewing manuscripts",
4
- "version": "3.10.12",
4
+ "version": "3.10.13",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -38,7 +38,7 @@
38
38
  "@citation-js/plugin-ris": "0.7.18",
39
39
  "@iarna/word-count": "1.1.2",
40
40
  "@manuscripts/style-guide": "3.5.2",
41
- "@manuscripts/track-changes-plugin": "2.3.7",
41
+ "@manuscripts/track-changes-plugin": "2.3.8",
42
42
  "@manuscripts/transform": "4.3.27",
43
43
  "@popperjs/core": "2.11.8",
44
44
  "citeproc": "2.4.63",