@manuscripts/body-editor 2.8.39 → 2.8.40-LEAN-4160.0
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.
|
@@ -156,6 +156,7 @@ const DraggableTree = ({ tree, view, depth, can, }) => {
|
|
|
156
156
|
const tr = view.state.tr.insert(pos, node);
|
|
157
157
|
sourcePos = tr.mapping.map(sourcePos);
|
|
158
158
|
tr.delete(sourcePos, sourcePos + item.node.nodeSize);
|
|
159
|
+
tr.setMeta('NodeMove', true);
|
|
159
160
|
view.dispatch(tr);
|
|
160
161
|
},
|
|
161
162
|
collect: (monitor) => ({
|
package/dist/cjs/versions.js
CHANGED
|
@@ -129,6 +129,7 @@ export const DraggableTree = ({ tree, view, depth, can, }) => {
|
|
|
129
129
|
const tr = view.state.tr.insert(pos, node);
|
|
130
130
|
sourcePos = tr.mapping.map(sourcePos);
|
|
131
131
|
tr.delete(sourcePos, sourcePos + item.node.nodeSize);
|
|
132
|
+
tr.setMeta('NodeMove', true);
|
|
132
133
|
view.dispatch(tr);
|
|
133
134
|
},
|
|
134
135
|
collect: (monitor) => ({
|
package/dist/es/versions.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '2.8.
|
|
1
|
+
export const VERSION = '2.8.40-LEAN-4160.0';
|
|
2
2
|
export const MATHJAX_VERSION = '3.2.2';
|
package/dist/types/versions.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.8.
|
|
1
|
+
export declare const VERSION = "2.8.40-LEAN-4160.0";
|
|
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": "2.8.
|
|
4
|
+
"version": "2.8.40-LEAN-4160.0",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-body-editor",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@manuscripts/json-schema": "2.2.11",
|
|
34
34
|
"@manuscripts/library": "1.3.13",
|
|
35
35
|
"@manuscripts/style-guide": "2.1.6",
|
|
36
|
-
"@manuscripts/track-changes-plugin": "1.10.
|
|
36
|
+
"@manuscripts/track-changes-plugin": "1.10.5-LEAN-4160.0",
|
|
37
37
|
"@manuscripts/transform": "3.0.55",
|
|
38
38
|
"@popperjs/core": "^2.11.8",
|
|
39
39
|
"astrocite-eutils": "^0.16.4",
|