@manuscripts/body-editor 2.7.12 → 2.7.13-LEAN-4243.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.
@@ -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.7.12';
4
+ exports.VERSION = '2.7.13-LEAN-4243.0';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -94,10 +94,8 @@ class InlineFootnoteView extends base_node_view_1.BaseNodeView {
94
94
  if (!fn) {
95
95
  return [];
96
96
  }
97
- const rids = this.node.attrs.rids;
98
97
  const footnotes = fn.footnotes
99
- .map((n) => n[0])
100
- .filter((n) => fn.unusedFootnoteIDs.has(n.attrs.id) || rids.includes(n.attrs.id));
98
+ .map((n) => n[0]);
101
99
  const props = {
102
100
  footnotes,
103
101
  inlineFootnote: this.node,
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.7.12';
1
+ export const VERSION = '2.7.13-LEAN-4243.0';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -88,10 +88,8 @@ export class InlineFootnoteView extends BaseNodeView {
88
88
  if (!fn) {
89
89
  return [];
90
90
  }
91
- const rids = this.node.attrs.rids;
92
91
  const footnotes = fn.footnotes
93
- .map((n) => n[0])
94
- .filter((n) => fn.unusedFootnoteIDs.has(n.attrs.id) || rids.includes(n.attrs.id));
92
+ .map((n) => n[0]);
95
93
  const props = {
96
94
  footnotes,
97
95
  inlineFootnote: this.node,
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.7.12";
1
+ export declare const VERSION = "2.7.13-LEAN-4243.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.7.12",
4
+ "version": "2.7.13-LEAN-4243.0",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",