@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) => ({
@@ -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 = '2.8.39';
4
+ exports.VERSION = '2.8.40-LEAN-4160.0';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -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) => ({
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.8.39';
1
+ export const VERSION = '2.8.40-LEAN-4160.0';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.8.39";
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.39",
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.4",
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",
@@ -1246,4 +1246,4 @@ th:hover > .table-context-menu-button,
1246
1246
  }
1247
1247
  .embed-media-preview .tools-panel {
1248
1248
  right: 6px;
1249
- }
1249
+ }