@manuscripts/body-editor 1.9.4-LEAN-3584.1 → 1.9.4
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 +12 -3
- package/dist/cjs/keys/misc.js +1 -1
- package/dist/cjs/lib/context-menu.js +3 -1
- package/dist/cjs/plugins/comment_annotation.js +10 -4
- package/dist/cjs/plugins/footnotes/footnotes-utils.js +6 -1
- package/dist/cjs/views/inline_footnote.js +1 -0
- package/dist/es/commands.js +10 -2
- package/dist/es/keys/misc.js +2 -2
- package/dist/es/lib/context-menu.js +3 -1
- package/dist/es/plugins/comment_annotation.js +10 -4
- package/dist/es/plugins/footnotes/footnotes-utils.js +6 -1
- package/dist/es/views/inline_footnote.js +2 -1
- package/dist/types/commands.d.ts +1 -0
- package/package.json +4 -4
package/dist/cjs/commands.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.insertTableFootnote = exports.updateCommentAnnotationState = exports.addComment = exports.deleteHighlightMarkers = exports.insertHighlight = exports.createAndFillTableElement = exports.selectAllIsolating = exports.ignoreAtomBlockNodeForward = exports.isAtEndOfTextBlock = exports.ignoreAtomBlockNodeBackward = exports.isTextSelection = exports.isAtStartOfTextBlock = exports.ifInTableBody = exports.insertTOCSection = exports.insertBibliographySection = exports.insertList = exports.insertSection = exports.insertGraphicalAbstract = exports.insertInlineFootnote = exports.insertInlineEquation = exports.insertCrossReference = exports.insertInlineCitation = exports.insertLink = exports.insertSectionLabel = exports.insertBreak = exports.deleteBlock = exports.insertBlock = exports.insertFileAsFigure = exports.insertGeneralFootnote = exports.createBlock = exports.createSelection = exports.canInsert = exports.blockActive = exports.isNodeSelection = exports.markActive = void 0;
|
|
18
|
+
exports.insertTableFootnote = exports.updateCommentAnnotationState = exports.addComment = exports.deleteHighlightMarkers = exports.insertHighlight = exports.createAndFillTableElement = exports.selectAllIsolating = exports.ignoreAtomBlockNodeForward = exports.isAtEndOfTextBlock = exports.ignoreMetaNodeBackspaceCommand = exports.ignoreAtomBlockNodeBackward = exports.isTextSelection = exports.isAtStartOfTextBlock = exports.ifInTableBody = exports.insertTOCSection = exports.insertBibliographySection = exports.insertList = exports.insertSection = exports.insertGraphicalAbstract = exports.insertInlineFootnote = exports.insertInlineEquation = exports.insertCrossReference = exports.insertInlineCitation = exports.insertLink = exports.insertSectionLabel = exports.insertBreak = exports.deleteBlock = exports.insertBlock = exports.insertFileAsFigure = exports.insertGeneralFootnote = exports.createBlock = exports.createSelection = exports.canInsert = exports.blockActive = exports.isNodeSelection = exports.markActive = void 0;
|
|
19
19
|
const json_schema_1 = require("@manuscripts/json-schema");
|
|
20
20
|
const track_changes_plugin_1 = require("@manuscripts/track-changes-plugin");
|
|
21
21
|
const transform_1 = require("@manuscripts/transform");
|
|
@@ -498,6 +498,16 @@ const ignoreAtomBlockNodeBackward = (state, dispatch, view) => {
|
|
|
498
498
|
return node.isBlock && node.isAtom;
|
|
499
499
|
};
|
|
500
500
|
exports.ignoreAtomBlockNodeBackward = ignoreAtomBlockNodeBackward;
|
|
501
|
+
const ignoreMetaNodeBackspaceCommand = (state) => {
|
|
502
|
+
const { selection } = state;
|
|
503
|
+
if (!(0, exports.isNodeSelection)(selection)) {
|
|
504
|
+
return false;
|
|
505
|
+
}
|
|
506
|
+
return (selection.node.type === transform_1.schema.nodes.keyword_group ||
|
|
507
|
+
selection.node.type === transform_1.schema.nodes.affiliations ||
|
|
508
|
+
selection.node.type === transform_1.schema.nodes.contributors);
|
|
509
|
+
};
|
|
510
|
+
exports.ignoreMetaNodeBackspaceCommand = ignoreMetaNodeBackspaceCommand;
|
|
501
511
|
const findCutAfter = ($pos) => {
|
|
502
512
|
if (!$pos.parent.type.spec.isolating) {
|
|
503
513
|
for (let i = $pos.depth - 1; i >= 0; i--) {
|
|
@@ -750,8 +760,7 @@ const insertTableFootnote = (node, position, view, inlineFootnote) => {
|
|
|
750
760
|
else {
|
|
751
761
|
const inlineFootnotes = (0, prosemirror_utils_1.findChildrenByType)(node, transform_1.schema.nodes.inline_footnote);
|
|
752
762
|
footnoteIndex =
|
|
753
|
-
inlineFootnotes.filter(({ pos }) => position + pos <= insertedAt).length +
|
|
754
|
-
1;
|
|
763
|
+
inlineFootnotes.filter(({ pos }) => !(0, track_changes_utils_1.isRejectedInsert)(node) && position + pos <= insertedAt).length + 1;
|
|
755
764
|
const inlineFootnoteNode = state.schema.nodes.inline_footnote.create({
|
|
756
765
|
rids: [footnote.attrs.id],
|
|
757
766
|
contents: footnoteIndex === -1 ? inlineFootnotes.length : footnoteIndex,
|
package/dist/cjs/keys/misc.js
CHANGED
|
@@ -22,7 +22,7 @@ const prosemirror_inputrules_1 = require("prosemirror-inputrules");
|
|
|
22
22
|
const prosemirror_tables_1 = require("prosemirror-tables");
|
|
23
23
|
const commands_1 = require("../commands");
|
|
24
24
|
const customKeymap = {
|
|
25
|
-
Backspace: (0, prosemirror_commands_1.chainCommands)(prosemirror_inputrules_1.undoInputRule, commands_1.ignoreAtomBlockNodeBackward),
|
|
25
|
+
Backspace: (0, prosemirror_commands_1.chainCommands)(prosemirror_inputrules_1.undoInputRule, commands_1.ignoreAtomBlockNodeBackward, commands_1.ignoreMetaNodeBackspaceCommand),
|
|
26
26
|
Delete: commands_1.ignoreAtomBlockNodeForward,
|
|
27
27
|
Tab: (0, prosemirror_tables_1.goToNextCell)(1),
|
|
28
28
|
'Mod-z': prosemirror_history_1.undo,
|
|
@@ -208,6 +208,7 @@ class ContextMenu {
|
|
|
208
208
|
const tablesFootnoteLabels = (0, footnotes_utils_1.buildTableFootnoteLabels)(this.node);
|
|
209
209
|
const footnotesWithPos = (0, prosemirror_utils_1.findChildrenByType)(footnotesElementWithPos.node, transform_1.schema.nodes.footnote);
|
|
210
210
|
const footnotes = footnotesWithPos
|
|
211
|
+
.filter(({ node }) => !(0, track_changes_utils_1.isDeleted)(node) && !(0, track_changes_utils_1.isRejectedInsert)(node))
|
|
211
212
|
.map(({ node }) => ({
|
|
212
213
|
node: node,
|
|
213
214
|
index: tablesFootnoteLabels.get(node.attrs.id),
|
|
@@ -228,7 +229,8 @@ class ContextMenu {
|
|
|
228
229
|
this.view.state.doc
|
|
229
230
|
.slice(this.getPos(), insertedAt)
|
|
230
231
|
.content.descendants((node) => {
|
|
231
|
-
if (node.type === transform_1.schema.nodes.inline_footnote
|
|
232
|
+
if (node.type === transform_1.schema.nodes.inline_footnote &&
|
|
233
|
+
!(0, track_changes_utils_1.isRejectedInsert)(node)) {
|
|
232
234
|
inlineFootnoteIndex++;
|
|
233
235
|
return false;
|
|
234
236
|
}
|
|
@@ -53,11 +53,17 @@ exports.default = (props) => {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
const hasCommentChange = !!tr.steps.find((s) => {
|
|
56
|
-
var _a, _b;
|
|
56
|
+
var _a, _b, _c, _d;
|
|
57
57
|
if (s instanceof prosemirror_transform_1.ReplaceStep) {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
if (s.slice.size > 0) {
|
|
59
|
+
return (((_a = newState.doc.nodeAt(s.from + 1)) === null || _a === void 0 ? void 0 : _a.type) ===
|
|
60
|
+
transform_1.schema.nodes.comment ||
|
|
61
|
+
((_b = newState.doc.nodeAt(s.from)) === null || _b === void 0 ? void 0 : _b.type) ===
|
|
62
|
+
transform_1.schema.nodes.highlight_marker);
|
|
63
|
+
}
|
|
64
|
+
return (((_c = oldState.doc.nodeAt(s.from)) === null || _c === void 0 ? void 0 : _c.type) === transform_1.schema.nodes.comment ||
|
|
65
|
+
((_d = oldState.doc.nodeAt(s.from)) === null || _d === void 0 ? void 0 : _d.type) ===
|
|
66
|
+
transform_1.schema.nodes.highlight_marker);
|
|
61
67
|
}
|
|
62
68
|
});
|
|
63
69
|
if (hasCommentChange) {
|
|
@@ -20,11 +20,13 @@ const track_changes_plugin_1 = require("@manuscripts/track-changes-plugin");
|
|
|
20
20
|
const transform_1 = require("@manuscripts/transform");
|
|
21
21
|
const prosemirror_model_1 = require("prosemirror-model");
|
|
22
22
|
const prosemirror_utils_1 = require("prosemirror-utils");
|
|
23
|
+
const track_changes_utils_1 = require("../../lib/track-changes-utils");
|
|
23
24
|
const findTableInlineFootnoteIds = ($pos) => {
|
|
24
25
|
var _a;
|
|
25
26
|
const tableElement = (_a = (0, prosemirror_utils_1.findParentNodeClosestToPos)($pos, (node) => node.type === transform_1.schema.nodes.table_element)) === null || _a === void 0 ? void 0 : _a.node.firstChild;
|
|
26
27
|
return new Set(tableElement
|
|
27
28
|
? (0, prosemirror_utils_1.findChildren)(tableElement, (node) => node.type === transform_1.schema.nodes.inline_footnote)
|
|
29
|
+
.filter(({ node }) => !(0, track_changes_utils_1.isRejectedInsert)(node))
|
|
28
30
|
.map(({ node }) => node.attrs.rids)
|
|
29
31
|
.flat()
|
|
30
32
|
: []);
|
|
@@ -49,6 +51,7 @@ const buildTableFootnoteLabels = (node) => {
|
|
|
49
51
|
]));
|
|
50
52
|
let index = 0;
|
|
51
53
|
(0, prosemirror_utils_1.findChildrenByType)(node, transform_1.schema.nodes.inline_footnote)
|
|
54
|
+
.filter(({ node }) => !(0, track_changes_utils_1.isRejectedInsert)(node))
|
|
52
55
|
.map(({ node }) => node.attrs.rids)
|
|
53
56
|
.flat()
|
|
54
57
|
.map((rid) => {
|
|
@@ -82,7 +85,9 @@ const orderTableFootnotes = (tr, footnotesElementWithPos, position) => {
|
|
|
82
85
|
exports.orderTableFootnotes = orderTableFootnotes;
|
|
83
86
|
const updateTableInlineFootnoteLabels = (tr, table) => {
|
|
84
87
|
const labels = (0, exports.buildTableFootnoteLabels)(table.node);
|
|
85
|
-
(0, prosemirror_utils_1.findChildrenByType)(table.node, transform_1.schema.nodes.inline_footnote)
|
|
88
|
+
(0, prosemirror_utils_1.findChildrenByType)(table.node, transform_1.schema.nodes.inline_footnote)
|
|
89
|
+
.filter(({ node }) => !(0, track_changes_utils_1.isRejectedInsert)(node))
|
|
90
|
+
.map(({ node, pos }) => {
|
|
86
91
|
const contents = node.attrs.rids
|
|
87
92
|
.map((rid) => labels.get(rid))
|
|
88
93
|
.join(',');
|
|
@@ -81,6 +81,7 @@ class InlineFootnoteView extends base_node_view_1.BaseNodeView {
|
|
|
81
81
|
if (footnotesElement) {
|
|
82
82
|
const tablesFootnoteLabels = (0, footnotes_utils_1.buildTableFootnoteLabels)(tableElement.node);
|
|
83
83
|
footnotes = (0, prosemirror_utils_1.findChildrenByType)(footnotesElement, transform_1.schema.nodes.footnote)
|
|
84
|
+
.filter(({ node }) => !(0, track_changes_utils_1.isDeleted)(node) && !(0, track_changes_utils_1.isRejectedInsert)(node))
|
|
84
85
|
.map(({ node }) => ({
|
|
85
86
|
node: node,
|
|
86
87
|
index: tablesFootnoteLabels.get(node.attrs.id),
|
package/dist/es/commands.js
CHANGED
|
@@ -469,6 +469,15 @@ export const ignoreAtomBlockNodeBackward = (state, dispatch, view) => {
|
|
|
469
469
|
}
|
|
470
470
|
return node.isBlock && node.isAtom;
|
|
471
471
|
};
|
|
472
|
+
export const ignoreMetaNodeBackspaceCommand = (state) => {
|
|
473
|
+
const { selection } = state;
|
|
474
|
+
if (!isNodeSelection(selection)) {
|
|
475
|
+
return false;
|
|
476
|
+
}
|
|
477
|
+
return (selection.node.type === schema.nodes.keyword_group ||
|
|
478
|
+
selection.node.type === schema.nodes.affiliations ||
|
|
479
|
+
selection.node.type === schema.nodes.contributors);
|
|
480
|
+
};
|
|
472
481
|
const findCutAfter = ($pos) => {
|
|
473
482
|
if (!$pos.parent.type.spec.isolating) {
|
|
474
483
|
for (let i = $pos.depth - 1; i >= 0; i--) {
|
|
@@ -713,8 +722,7 @@ export const insertTableFootnote = (node, position, view, inlineFootnote) => {
|
|
|
713
722
|
else {
|
|
714
723
|
const inlineFootnotes = findChildrenByType(node, schema.nodes.inline_footnote);
|
|
715
724
|
footnoteIndex =
|
|
716
|
-
inlineFootnotes.filter(({ pos }) => position + pos <= insertedAt).length +
|
|
717
|
-
1;
|
|
725
|
+
inlineFootnotes.filter(({ pos }) => !isRejectedInsert(node) && position + pos <= insertedAt).length + 1;
|
|
718
726
|
const inlineFootnoteNode = state.schema.nodes.inline_footnote.create({
|
|
719
727
|
rids: [footnote.attrs.id],
|
|
720
728
|
contents: footnoteIndex === -1 ? inlineFootnotes.length : footnoteIndex,
|
package/dist/es/keys/misc.js
CHANGED
|
@@ -18,9 +18,9 @@ import { chainCommands, exitCode, joinDown, joinUp, lift, toggleMark, wrapIn, }
|
|
|
18
18
|
import { redo, undo } from 'prosemirror-history';
|
|
19
19
|
import { undoInputRule } from 'prosemirror-inputrules';
|
|
20
20
|
import { goToNextCell } from 'prosemirror-tables';
|
|
21
|
-
import { ignoreAtomBlockNodeBackward, ignoreAtomBlockNodeForward, insertBlock, insertBreak, insertCrossReference, insertInlineCitation, insertInlineEquation, insertSection, selectAllIsolating, } from '../commands';
|
|
21
|
+
import { ignoreAtomBlockNodeBackward, ignoreAtomBlockNodeForward, ignoreMetaNodeBackspaceCommand, insertBlock, insertBreak, insertCrossReference, insertInlineCitation, insertInlineEquation, insertSection, selectAllIsolating, } from '../commands';
|
|
22
22
|
const customKeymap = {
|
|
23
|
-
Backspace: chainCommands(undoInputRule, ignoreAtomBlockNodeBackward),
|
|
23
|
+
Backspace: chainCommands(undoInputRule, ignoreAtomBlockNodeBackward, ignoreMetaNodeBackspaceCommand),
|
|
24
24
|
Delete: ignoreAtomBlockNodeForward,
|
|
25
25
|
Tab: goToNextCell(1),
|
|
26
26
|
'Mod-z': undo,
|
|
@@ -201,6 +201,7 @@ export class ContextMenu {
|
|
|
201
201
|
const tablesFootnoteLabels = buildTableFootnoteLabels(this.node);
|
|
202
202
|
const footnotesWithPos = findChildrenByType(footnotesElementWithPos.node, schema.nodes.footnote);
|
|
203
203
|
const footnotes = footnotesWithPos
|
|
204
|
+
.filter(({ node }) => !isDeleted(node) && !isRejectedInsert(node))
|
|
204
205
|
.map(({ node }) => ({
|
|
205
206
|
node: node,
|
|
206
207
|
index: tablesFootnoteLabels.get(node.attrs.id),
|
|
@@ -221,7 +222,8 @@ export class ContextMenu {
|
|
|
221
222
|
this.view.state.doc
|
|
222
223
|
.slice(this.getPos(), insertedAt)
|
|
223
224
|
.content.descendants((node) => {
|
|
224
|
-
if (node.type === schema.nodes.inline_footnote
|
|
225
|
+
if (node.type === schema.nodes.inline_footnote &&
|
|
226
|
+
!isRejectedInsert(node)) {
|
|
225
227
|
inlineFootnoteIndex++;
|
|
226
228
|
return false;
|
|
227
229
|
}
|
|
@@ -47,11 +47,17 @@ export default (props) => {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
const hasCommentChange = !!tr.steps.find((s) => {
|
|
50
|
-
var _a, _b;
|
|
50
|
+
var _a, _b, _c, _d;
|
|
51
51
|
if (s instanceof ReplaceStep) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
if (s.slice.size > 0) {
|
|
53
|
+
return (((_a = newState.doc.nodeAt(s.from + 1)) === null || _a === void 0 ? void 0 : _a.type) ===
|
|
54
|
+
schema.nodes.comment ||
|
|
55
|
+
((_b = newState.doc.nodeAt(s.from)) === null || _b === void 0 ? void 0 : _b.type) ===
|
|
56
|
+
schema.nodes.highlight_marker);
|
|
57
|
+
}
|
|
58
|
+
return (((_c = oldState.doc.nodeAt(s.from)) === null || _c === void 0 ? void 0 : _c.type) === schema.nodes.comment ||
|
|
59
|
+
((_d = oldState.doc.nodeAt(s.from)) === null || _d === void 0 ? void 0 : _d.type) ===
|
|
60
|
+
schema.nodes.highlight_marker);
|
|
55
61
|
}
|
|
56
62
|
});
|
|
57
63
|
if (hasCommentChange) {
|
|
@@ -17,11 +17,13 @@ import { skipTracking } from '@manuscripts/track-changes-plugin';
|
|
|
17
17
|
import { isFootnoteNode, schema, } from '@manuscripts/transform';
|
|
18
18
|
import { Fragment } from 'prosemirror-model';
|
|
19
19
|
import { findChildren, findChildrenByType, findParentNodeClosestToPos, } from 'prosemirror-utils';
|
|
20
|
+
import { isRejectedInsert } from '../../lib/track-changes-utils';
|
|
20
21
|
export const findTableInlineFootnoteIds = ($pos) => {
|
|
21
22
|
var _a;
|
|
22
23
|
const tableElement = (_a = findParentNodeClosestToPos($pos, (node) => node.type === schema.nodes.table_element)) === null || _a === void 0 ? void 0 : _a.node.firstChild;
|
|
23
24
|
return new Set(tableElement
|
|
24
25
|
? findChildren(tableElement, (node) => node.type === schema.nodes.inline_footnote)
|
|
26
|
+
.filter(({ node }) => !isRejectedInsert(node))
|
|
25
27
|
.map(({ node }) => node.attrs.rids)
|
|
26
28
|
.flat()
|
|
27
29
|
: []);
|
|
@@ -44,6 +46,7 @@ export const buildTableFootnoteLabels = (node) => {
|
|
|
44
46
|
]));
|
|
45
47
|
let index = 0;
|
|
46
48
|
findChildrenByType(node, schema.nodes.inline_footnote)
|
|
49
|
+
.filter(({ node }) => !isRejectedInsert(node))
|
|
47
50
|
.map(({ node }) => node.attrs.rids)
|
|
48
51
|
.flat()
|
|
49
52
|
.map((rid) => {
|
|
@@ -75,7 +78,9 @@ export const orderTableFootnotes = (tr, footnotesElementWithPos, position) => {
|
|
|
75
78
|
};
|
|
76
79
|
export const updateTableInlineFootnoteLabels = (tr, table) => {
|
|
77
80
|
const labels = buildTableFootnoteLabels(table.node);
|
|
78
|
-
findChildrenByType(table.node, schema.nodes.inline_footnote)
|
|
81
|
+
findChildrenByType(table.node, schema.nodes.inline_footnote)
|
|
82
|
+
.filter(({ node }) => !isRejectedInsert(node))
|
|
83
|
+
.map(({ node, pos }) => {
|
|
79
84
|
const contents = node.attrs.rids
|
|
80
85
|
.map((rid) => labels.get(rid))
|
|
81
86
|
.join(',');
|
|
@@ -17,7 +17,7 @@ import { TableFootnotesSelector, } from '@manuscripts/style-guide';
|
|
|
17
17
|
import { schema, } from '@manuscripts/transform';
|
|
18
18
|
import { findChildrenByType, findParentNodeClosestToPos, } from 'prosemirror-utils';
|
|
19
19
|
import { insertTableFootnote } from '../commands';
|
|
20
|
-
import { getChangeClasses, isDeleted, } from '../lib/track-changes-utils';
|
|
20
|
+
import { getChangeClasses, isDeleted, isRejectedInsert, } from '../lib/track-changes-utils';
|
|
21
21
|
import { buildTableFootnoteLabels } from '../plugins/footnotes/footnotes-utils';
|
|
22
22
|
import { BaseNodeView } from './base_node_view';
|
|
23
23
|
import { createNodeView } from './creators';
|
|
@@ -75,6 +75,7 @@ export class InlineFootnoteView extends BaseNodeView {
|
|
|
75
75
|
if (footnotesElement) {
|
|
76
76
|
const tablesFootnoteLabels = buildTableFootnoteLabels(tableElement.node);
|
|
77
77
|
footnotes = findChildrenByType(footnotesElement, schema.nodes.footnote)
|
|
78
|
+
.filter(({ node }) => !isDeleted(node) && !isRejectedInsert(node))
|
|
78
79
|
.map(({ node }) => ({
|
|
79
80
|
node: node,
|
|
80
81
|
index: tablesFootnoteLabels.get(node.attrs.id),
|
package/dist/types/commands.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export declare const ifInTableBody: (command: (state: ManuscriptEditorState) =>
|
|
|
48
48
|
export declare const isAtStartOfTextBlock: (state: ManuscriptEditorState, $cursor: ResolvedPos, view?: ManuscriptEditorView) => boolean;
|
|
49
49
|
export declare const isTextSelection: (selection: Selection) => selection is TextSelection;
|
|
50
50
|
export declare const ignoreAtomBlockNodeBackward: (state: ManuscriptEditorState, dispatch?: Dispatch, view?: ManuscriptEditorView) => boolean;
|
|
51
|
+
export declare const ignoreMetaNodeBackspaceCommand: (state: ManuscriptEditorState) => boolean;
|
|
51
52
|
export declare const isAtEndOfTextBlock: (state: ManuscriptEditorState, $cursor: ResolvedPos, view?: ManuscriptEditorView) => boolean;
|
|
52
53
|
export declare const ignoreAtomBlockNodeForward: (state: ManuscriptEditorState, dispatch?: Dispatch, view?: ManuscriptEditorView) => boolean;
|
|
53
54
|
export declare const selectAllIsolating: (state: ManuscriptEditorState, dispatch?: Dispatch) => boolean;
|
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.9.4
|
|
4
|
+
"version": "1.9.4",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-body-editor",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"@manuscripts/assets": "^0.6.4",
|
|
32
32
|
"@manuscripts/json-schema": "^2.2.7",
|
|
33
33
|
"@manuscripts/library": "^1.3.6",
|
|
34
|
-
"@manuscripts/style-guide": "1.12.
|
|
34
|
+
"@manuscripts/style-guide": "1.12.3",
|
|
35
35
|
"@manuscripts/track-changes-plugin": "1.7.10",
|
|
36
|
-
"@manuscripts/transform": "2.3.
|
|
36
|
+
"@manuscripts/transform": "2.3.3",
|
|
37
37
|
"astrocite-eutils": "^0.16.4",
|
|
38
38
|
"mathjax-full": "^3.2.2",
|
|
39
39
|
"codemirror": "^5.58.1",
|
|
@@ -111,4 +111,4 @@
|
|
|
111
111
|
"@types/react": "^17.0.2",
|
|
112
112
|
"prosemirror-tables": "^1.3.5"
|
|
113
113
|
}
|
|
114
|
-
}
|
|
114
|
+
}
|