@manuscripts/body-editor 1.9.9 → 1.9.10-LEAN-3294.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.
@@ -186,7 +186,7 @@ exports.default = (props) => {
186
186
  decorations.push(prosemirror_view_1.Decoration.node(parent.pos, parent.pos + parent.node.nodeSize, {
187
187
  class: 'footnote-selected',
188
188
  }));
189
- decorations.push(prosemirror_view_1.Decoration.widget(targetNode.pos + (footnote ? 1 : 2), deleteFootnoteWidget(targetNode.node, props, targetNode.node.attrs.id, tableElement), {
189
+ decorations.push(prosemirror_view_1.Decoration.widget(targetNode.pos + 1, deleteFootnoteWidget(targetNode.node, props, targetNode.node.attrs.id, tableElement), {
190
190
  key: targetNode.node.attrs.id,
191
191
  }));
192
192
  }
@@ -178,7 +178,7 @@ export default (props) => {
178
178
  decorations.push(Decoration.node(parent.pos, parent.pos + parent.node.nodeSize, {
179
179
  class: 'footnote-selected',
180
180
  }));
181
- decorations.push(Decoration.widget(targetNode.pos + (footnote ? 1 : 2), deleteFootnoteWidget(targetNode.node, props, targetNode.node.attrs.id, tableElement), {
181
+ decorations.push(Decoration.widget(targetNode.pos + 1, deleteFootnoteWidget(targetNode.node, props, targetNode.node.attrs.id, tableElement), {
182
182
  key: targetNode.node.attrs.id,
183
183
  }));
184
184
  }
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.9",
4
+ "version": "1.9.10-LEAN-3294.0",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
package/styles/Editor.css CHANGED
@@ -995,6 +995,9 @@
995
995
  background-color: #f2fbfc;
996
996
  padding: 4px;
997
997
  }
998
+ .table-footer > div {
999
+ position: relative;
1000
+ }
998
1001
 
999
1002
  .table-footer > div > p {
1000
1003
  padding-bottom: 10px;