@manuscripts/body-editor 3.2.23 → 3.2.25

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.
@@ -125,6 +125,10 @@ const CitationEditor = ({ query, rids: $rids, items: $items, citationCounts, sou
125
125
  id: (0, transform_1.generateNodeID)(transform_1.schema.nodes.bibliography_item),
126
126
  type: 'article-journal',
127
127
  };
128
+ dispatchItems({
129
+ type: 'update',
130
+ items: [item, ...items],
131
+ });
128
132
  setEditingForm({ show: true, item: item });
129
133
  };
130
134
  const handleImport = () => {
@@ -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.2.23';
4
+ exports.VERSION = '3.2.25';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -96,6 +96,10 @@ export const CitationEditor = ({ query, rids: $rids, items: $items, citationCoun
96
96
  id: generateNodeID(schema.nodes.bibliography_item),
97
97
  type: 'article-journal',
98
98
  };
99
+ dispatchItems({
100
+ type: 'update',
101
+ items: [item, ...items],
102
+ });
99
103
  setEditingForm({ show: true, item: item });
100
104
  };
101
105
  const handleImport = () => {
@@ -1,2 +1,2 @@
1
- export const VERSION = '3.2.23';
1
+ export const VERSION = '3.2.25';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.2.23";
1
+ export declare const VERSION = "3.2.25";
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.2.23",
4
+ "version": "3.2.25",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -40,7 +40,7 @@
40
40
  "@manuscripts/json-schema": "2.2.12",
41
41
  "@manuscripts/style-guide": "3.1.5",
42
42
  "@manuscripts/track-changes-plugin": "2.0.3",
43
- "@manuscripts/transform": "4.2.6",
43
+ "@manuscripts/transform": "4.2.7",
44
44
  "@popperjs/core": "2.11.8",
45
45
  "citeproc": "2.4.63",
46
46
  "codemirror": "5.65.19",