@manuscripts/body-editor 2.0.17 → 2.0.18-LEAN-3757.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.
- package/dist/cjs/commands.js +2 -1
- package/dist/cjs/versions.js +1 -1
- package/dist/es/commands.js +2 -1
- package/dist/es/versions.js +1 -1
- package/dist/types/versions.d.ts +1 -1
- package/package.json +1 -1
package/dist/cjs/commands.js
CHANGED
|
@@ -830,7 +830,8 @@ const getParentNode = (selection) => {
|
|
|
830
830
|
}
|
|
831
831
|
return node;
|
|
832
832
|
};
|
|
833
|
-
const isCommentingAllowed = (type) => type === transform_1.schema.nodes.
|
|
833
|
+
const isCommentingAllowed = (type) => type === transform_1.schema.nodes.title ||
|
|
834
|
+
type === transform_1.schema.nodes.section ||
|
|
834
835
|
type === transform_1.schema.nodes.citation ||
|
|
835
836
|
type === transform_1.schema.nodes.bibliography_item ||
|
|
836
837
|
type === transform_1.schema.nodes.footnotes_section ||
|
package/dist/cjs/versions.js
CHANGED
package/dist/es/commands.js
CHANGED
|
@@ -790,7 +790,8 @@ const getParentNode = (selection) => {
|
|
|
790
790
|
}
|
|
791
791
|
return node;
|
|
792
792
|
};
|
|
793
|
-
const isCommentingAllowed = (type) => type === schema.nodes.
|
|
793
|
+
const isCommentingAllowed = (type) => type === schema.nodes.title ||
|
|
794
|
+
type === schema.nodes.section ||
|
|
794
795
|
type === schema.nodes.citation ||
|
|
795
796
|
type === schema.nodes.bibliography_item ||
|
|
796
797
|
type === schema.nodes.footnotes_section ||
|
package/dist/es/versions.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '2.0.
|
|
1
|
+
export const VERSION = '2.0.18-LEAN-3757.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.0.
|
|
1
|
+
export declare const VERSION = "2.0.18-LEAN-3757.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.0.
|
|
4
|
+
"version": "2.0.18-LEAN-3757.0",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-body-editor",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|