@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.
@@ -830,7 +830,8 @@ const getParentNode = (selection) => {
830
830
  }
831
831
  return node;
832
832
  };
833
- const isCommentingAllowed = (type) => type === transform_1.schema.nodes.section ||
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 ||
@@ -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.0.17';
4
+ exports.VERSION = '2.0.18-LEAN-3757.0';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -790,7 +790,8 @@ const getParentNode = (selection) => {
790
790
  }
791
791
  return node;
792
792
  };
793
- const isCommentingAllowed = (type) => type === schema.nodes.section ||
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 ||
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.0.17';
1
+ export const VERSION = '2.0.18-LEAN-3757.0';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.0.17";
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.17",
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",