@manuscripts/body-editor 3.5.7 → 3.5.9

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.
@@ -151,7 +151,7 @@ class ContextMenu {
151
151
  };
152
152
  this.showEditMenu = (target) => {
153
153
  const menu = document.createElement('div');
154
- menu.className = 'menu edit-menu';
154
+ menu.className = 'menu';
155
155
  const $pos = this.resolvePos();
156
156
  const isBox = isBoxElementSectionTitle($pos, this.node);
157
157
  const type = isBox ? transform_1.schema.nodes.box_element : this.node.type;
@@ -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.5.7';
4
+ exports.VERSION = '3.5.9';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -147,7 +147,7 @@ export class ContextMenu {
147
147
  };
148
148
  this.showEditMenu = (target) => {
149
149
  const menu = document.createElement('div');
150
- menu.className = 'menu edit-menu';
150
+ menu.className = 'menu';
151
151
  const $pos = this.resolvePos();
152
152
  const isBox = isBoxElementSectionTitle($pos, this.node);
153
153
  const type = isBox ? schema.nodes.box_element : this.node.type;
@@ -1,2 +1,2 @@
1
- export const VERSION = '3.5.7';
1
+ export const VERSION = '3.5.9';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.5.7";
1
+ export declare const VERSION = "3.5.9";
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.5.7",
4
+ "version": "3.5.9",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
package/styles/popper.css CHANGED
@@ -104,7 +104,6 @@
104
104
  border: 1px solid #e2e2e2;
105
105
  border-radius: 8px;
106
106
  box-shadow: 0 4px 9px 0 rgba(84, 83, 83, 0.3);
107
- min-width: 208px;
108
107
  }
109
108
 
110
109
  .popper .menu .menu-section {
@@ -129,7 +128,7 @@
129
128
  font-size: 14px;
130
129
  font-style: normal;
131
130
  font-weight: 400;
132
- line-height: 24px;
131
+ line-height: 24px;
133
132
  }
134
133
  .popper .menu.edit-menu .menu-section {
135
134
  padding: 0;
@@ -281,10 +280,10 @@
281
280
  z-index: 10;
282
281
  }
283
282
 
284
- .popper .menu .context-submenu {
283
+ .popper .menu .context-submenu {
285
284
  position: relative;
286
285
  }
287
- .popper .menu .context-submenu-trigger {
286
+ .popper .menu .context-submenu-trigger {
288
287
  position: relative;
289
288
  justify-content: space-between;
290
289
  align-items: center;