@manuscripts/body-editor 3.12.25 → 3.12.27

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 = '3.12.25';
4
+ exports.VERSION = '3.12.27';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -1,2 +1,2 @@
1
- export const VERSION = '3.12.25';
1
+ export const VERSION = '3.12.27';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.12.25";
1
+ export declare const VERSION = "3.12.27";
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.12.25",
4
+ "version": "3.12.27",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -138,12 +138,6 @@
138
138
  width: 100%;
139
139
  border: 1px solid #f2f2f2;
140
140
  border-radius: 4px;
141
-
142
- grid-template-columns: repeat(3, auto) !important;
143
- grid-template-rows:
144
- repeat(1, minmax(min-content, max-content))
145
- [caption listing] auto !important;
146
-
147
141
  margin: 16px 0 0 !important;
148
142
  box-sizing: border-box;
149
143
  justify-self: center;
@@ -155,11 +149,6 @@
155
149
  border-radius: 4px;
156
150
  position: relative;
157
151
  padding: 8px;
158
-
159
- grid-template-columns: repeat(3, auto) !important;
160
- grid-template-rows:
161
- repeat(1, minmax(min-content, max-content))
162
- [caption listing] auto !important;
163
152
  }
164
153
 
165
154
  .ProseMirror .figure-block {
@@ -171,8 +160,6 @@
171
160
  border-radius: 0;
172
161
  position: static;
173
162
  margin: 0 !important;
174
- grid-template-columns: auto;
175
- grid-template-rows: auto;
176
163
  }
177
164
 
178
165
  .ProseMirror .figure-group {
@@ -184,7 +171,6 @@
184
171
  .ProseMirror .figure-block > figure {
185
172
  width: 100%;
186
173
  position: relative;
187
- grid-column: 1/-1;
188
174
  margin: 0;
189
175
  display: flex;
190
176
  flex-direction: column;
@@ -246,8 +232,6 @@
246
232
  }
247
233
 
248
234
  .ProseMirror .figure-block > .listing {
249
- grid-column-start: 1;
250
- grid-column-end: -1;
251
235
  padding: 0;
252
236
  min-height: 0;
253
237
  overflow: visible;
@@ -313,36 +297,6 @@
313
297
  border: none;
314
298
  }
315
299
 
316
- .ProseMirror .figure-block[id^='MPTable'] {
317
- border-collapse: collapse;
318
- empty-cells: show;
319
- display: grid;
320
- }
321
-
322
- .ProseMirror .figure-block[id^='MPTable'] tr:first-of-type > td {
323
- background-color: #eee !important;
324
-
325
- border-top-color: #000 !important;
326
- border-top-style: none !important;
327
- border-top-width: 2pt !important;
328
-
329
- border-bottom-color: #000 !important;
330
- border-bottom-style: none !important;
331
- border-bottom-width: 1pt !important;
332
- }
333
-
334
- .ProseMirror .figure-block[id^='MPTable'] tr:last-of-type > td {
335
- background-color: #eee !important;
336
-
337
- border-top-color: #000 !important;
338
- border-top-style: none !important;
339
- border-top-width: 1pt !important;
340
-
341
- border-bottom-color: #000 !important;
342
- border-bottom-style: none !important;
343
- border-bottom-width: 1pt !important;
344
- }
345
-
346
300
  .position-menu-button:focus-visible {
347
301
  outline: none;
348
302
  }
@@ -558,11 +512,16 @@ ProseMirror .block-embed .position-menu {
558
512
  position: relative;
559
513
  }
560
514
 
561
- .block > div.comment-marker,
562
- .figure-block > div.comment-marker {
515
+ .block > div.comment-marker {
563
516
  top: -25px;
564
517
  left: 100%;
565
518
  }
519
+ .figure-block > div.comment-marker {
520
+ position:absolute;
521
+ top: 1px;
522
+ left: unset;
523
+ right: -25px;
524
+ }
566
525
 
567
526
  ul > .comment-marker,
568
527
  ol > .comment-marker {
@@ -573,10 +532,6 @@ li > .comment-marker {
573
532
  float: right;
574
533
  }
575
534
 
576
- .figure-block div.comment-marker {
577
- grid-column: 3;
578
- }
579
-
580
535
  figure.block > .comment-marker {
581
536
  float: right;
582
537
  top: 0;
@@ -1653,8 +1608,6 @@ th:hover > .table-context-menu-button,
1653
1608
  .ProseMirror .accessibility_element,
1654
1609
  .ProseMirror .ext-link-editor-container {
1655
1610
  margin-top: 12px;
1656
- grid-column-start: 1;
1657
- grid-column-end: -1;
1658
1611
  text-align: start;
1659
1612
  display: none;
1660
1613
  }