@manuscripts/body-editor 2.8.69 → 2.8.71
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/cjs/commands.js +1 -1
- package/dist/cjs/versions.js +1 -1
- package/dist/es/commands.js +1 -1
- package/dist/es/versions.js +1 -1
- package/dist/types/versions.d.ts +1 -1
- package/package.json +2 -2
package/dist/cjs/commands.js
CHANGED
|
@@ -109,7 +109,7 @@ const canInsert = (type) => (state) => {
|
|
|
109
109
|
return false;
|
|
110
110
|
}
|
|
111
111
|
if (type === transform_1.schema.nodes.table_element) {
|
|
112
|
-
if (
|
|
112
|
+
if ((0, prosemirror_utils_1.findParentNodeOfType)(transform_1.schema.nodes.list_item)(state.selection)) {
|
|
113
113
|
return false;
|
|
114
114
|
}
|
|
115
115
|
}
|
package/dist/cjs/versions.js
CHANGED
package/dist/es/commands.js
CHANGED
|
@@ -101,7 +101,7 @@ export const canInsert = (type) => (state) => {
|
|
|
101
101
|
return false;
|
|
102
102
|
}
|
|
103
103
|
if (type === schema.nodes.table_element) {
|
|
104
|
-
if (
|
|
104
|
+
if (findParentNodeOfType(schema.nodes.list_item)(state.selection)) {
|
|
105
105
|
return false;
|
|
106
106
|
}
|
|
107
107
|
}
|
package/dist/es/versions.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '2.8.
|
|
1
|
+
export const VERSION = '2.8.71';
|
|
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.71";
|
|
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.71",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-body-editor",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@manuscripts/library": "1.3.14",
|
|
35
35
|
"@manuscripts/style-guide": "2.1.10",
|
|
36
36
|
"@manuscripts/track-changes-plugin": "1.10.7",
|
|
37
|
-
"@manuscripts/transform": "3.0.
|
|
37
|
+
"@manuscripts/transform": "3.0.67",
|
|
38
38
|
"@popperjs/core": "^2.11.8",
|
|
39
39
|
"astrocite-eutils": "^0.16.4",
|
|
40
40
|
"codemirror": "^5.58.1",
|