@manuscripts/body-editor 1.6.16 → 1.6.17
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/es/commands.js +1 -1
- package/package.json +1 -1
package/dist/cjs/commands.js
CHANGED
|
@@ -312,7 +312,7 @@ const insertInlineFootnote = (kind) => (state, dispatch) => {
|
|
|
312
312
|
};
|
|
313
313
|
exports.insertInlineFootnote = insertInlineFootnote;
|
|
314
314
|
const insertGraphicalAbstract = (state, dispatch) => {
|
|
315
|
-
if ((0, utils_1.getChildOfType)(state.doc, transform_1.schema.nodes.graphical_abstract_section)) {
|
|
315
|
+
if ((0, utils_1.getChildOfType)(state.doc, transform_1.schema.nodes.graphical_abstract_section, true)) {
|
|
316
316
|
return false;
|
|
317
317
|
}
|
|
318
318
|
const abstracts = (0, prosemirror_utils_1.findChildrenByType)(state.doc, transform_1.schema.nodes.abstracts)[0];
|
package/dist/es/commands.js
CHANGED
|
@@ -293,7 +293,7 @@ export const insertInlineFootnote = (kind) => (state, dispatch) => {
|
|
|
293
293
|
return true;
|
|
294
294
|
};
|
|
295
295
|
export const insertGraphicalAbstract = (state, dispatch) => {
|
|
296
|
-
if (getChildOfType(state.doc, schema.nodes.graphical_abstract_section)) {
|
|
296
|
+
if (getChildOfType(state.doc, schema.nodes.graphical_abstract_section, true)) {
|
|
297
297
|
return false;
|
|
298
298
|
}
|
|
299
299
|
const abstracts = findChildrenByType(state.doc, schema.nodes.abstracts)[0];
|
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": "1.6.
|
|
4
|
+
"version": "1.6.17",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-body-editor",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|