@manuscripts/body-editor 3.13.9 → 3.13.10

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.
@@ -963,7 +963,7 @@ const insertTransGraphicalAbstract = (category, insertAfterPos) => (state, dispa
963
963
  lang,
964
964
  category: category.id,
965
965
  }, [
966
- transform_1.schema.nodes.section_title.create({}, transform_1.schema.text(category.titles[0])),
966
+ transform_1.schema.nodes.section_title.create(),
967
967
  createAndFillFigureElement(state),
968
968
  ]);
969
969
  const tr = state.tr.insert(pos, node);
@@ -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 = '3.13.9';
4
+ exports.VERSION = '3.13.10';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -32,7 +32,6 @@ class SectionTitleView extends block_view_1.default {
32
32
  transform_1.schema.nodes.bibliography_section,
33
33
  transform_1.schema.nodes.footnotes_section,
34
34
  transform_1.schema.nodes.graphical_abstract_section,
35
- transform_1.schema.nodes.trans_graphical_abstract,
36
35
  transform_1.schema.nodes.supplements,
37
36
  ];
38
37
  this.createElement = () => {
@@ -920,7 +920,7 @@ export const insertTransGraphicalAbstract = (category, insertAfterPos) => (state
920
920
  lang,
921
921
  category: category.id,
922
922
  }, [
923
- schema.nodes.section_title.create({}, schema.text(category.titles[0])),
923
+ schema.nodes.section_title.create(),
924
924
  createAndFillFigureElement(state),
925
925
  ]);
926
926
  const tr = state.tr.insert(pos, node);
@@ -1,2 +1,2 @@
1
- export const VERSION = '3.13.9';
1
+ export const VERSION = '3.13.10';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -26,7 +26,6 @@ export class SectionTitleView extends BlockView {
26
26
  schema.nodes.bibliography_section,
27
27
  schema.nodes.footnotes_section,
28
28
  schema.nodes.graphical_abstract_section,
29
- schema.nodes.trans_graphical_abstract,
30
29
  schema.nodes.supplements,
31
30
  ];
32
31
  this.createElement = () => {
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.13.9";
1
+ export declare const VERSION = "3.13.10";
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": "3.13.9",
4
+ "version": "3.13.10",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
package/src/commands.ts CHANGED
@@ -1456,7 +1456,7 @@ export const insertTransGraphicalAbstract =
1456
1456
  category: category.id,
1457
1457
  },
1458
1458
  [
1459
- schema.nodes.section_title.create({}, schema.text(category.titles[0])),
1459
+ schema.nodes.section_title.create(),
1460
1460
  createAndFillFigureElement(state),
1461
1461
  ]
1462
1462
  ) as TransGraphicalAbstractNode
package/src/versions.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  //THIS FILE WAS GENERATED BY versions.mjs
2
- export const VERSION = '3.13.9';
2
+ export const VERSION = '3.13.10';
3
3
  export const MATHJAX_VERSION = '3.2.2';
@@ -29,7 +29,6 @@ export class SectionTitleView extends BlockView<SectionTitleNode> {
29
29
  schema.nodes.bibliography_section,
30
30
  schema.nodes.footnotes_section,
31
31
  schema.nodes.graphical_abstract_section,
32
- schema.nodes.trans_graphical_abstract,
33
32
  schema.nodes.supplements,
34
33
  ]
35
34