@manuscripts/body-editor 2.8.4 → 2.8.5

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.
@@ -86,6 +86,7 @@ exports.default = (props, dispatch) => {
86
86
  placeholder: (0, placeholder_1.default)(props),
87
87
  placeholder_element: (0, placeholder_element_editable_1.default)(props),
88
88
  section: (0, section_1.default)(props),
89
+ graphical_abstract_section: (0, section_1.default)(props),
89
90
  pullquote_element: (0, pullquote_element_editable_1.default)(props),
90
91
  section_title: (0, section_title_editable_1.default)(props),
91
92
  section_label: (0, section_label_1.default)(props),
@@ -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.8.4';
4
+ exports.VERSION = '2.8.5';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -81,6 +81,7 @@ export default (props, dispatch) => {
81
81
  placeholder: placeholder(props),
82
82
  placeholder_element: placeholderElement(props),
83
83
  section: section(props),
84
+ graphical_abstract_section: section(props),
84
85
  pullquote_element: pullquoteElement(props),
85
86
  section_title: sectionTitle(props),
86
87
  section_label: sectionLabel(props),
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.8.4';
1
+ export const VERSION = '2.8.5';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -222,6 +222,7 @@ declare const _default: (props: EditorProps, dispatch: Dispatch) => {
222
222
  destroy(): void;
223
223
  } & import("../views/placeholder_element").PlaceholderElementView>;
224
224
  section: import("../types").NodeViewCreator<import("../views/section").SectionView>;
225
+ graphical_abstract_section: import("../types").NodeViewCreator<import("../views/section").SectionView>;
225
226
  pullquote_element: import("../types").NodeViewCreator<{
226
227
  gutterButtons(): HTMLElement[];
227
228
  actionGutterButtons(): never[];
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.8.4";
1
+ export declare const VERSION = "2.8.5";
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.8.4",
4
+ "version": "2.8.5",
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
@@ -626,16 +626,16 @@
626
626
  .ProseMirror .block-container.block-affiliations {
627
627
  grid-template-columns: 52px auto 100px !important;
628
628
  }
629
- .ProseMirror .block-container.block-section {
629
+ .ProseMirror .block-container.block-section, .ProseMirror .block-container.block-graphical_abstract_section {
630
630
  position: relative;
631
631
  display: grid;
632
632
  grid-template-columns: auto;
633
633
  }
634
- .ProseMirror .block-container.block-section section {
634
+ .ProseMirror .block-container.block-section section, .ProseMirror .block-container.block-graphical_abstract_section section {
635
635
  position: relative;
636
636
  }
637
637
 
638
- .ProseMirror .block-container:not(.block-section):hover {
638
+ .ProseMirror .block-container:not(.block-section, .block-graphical_abstract_section):hover {
639
639
  z-index: 2;
640
640
  }
641
641
 
@@ -698,14 +698,14 @@
698
698
  }
699
699
 
700
700
  .ProseMirror
701
- .block-container:not(.block-section, .block-box_element):hover
701
+ .block-container:not(.block-section, .block-box_element, .block-graphical_abstract_section):hover
702
702
  .block-gutter {
703
703
  opacity: 1;
704
704
  z-index: 2;
705
705
  }
706
706
 
707
707
  .ProseMirror:not(.ProseMirror-focused.popper-open)
708
- .block-container:not(.block-section, .block-box_element):hover
708
+ .block-container:not(.block-section, .block-box_element, .block-graphical_abstract_section):hover
709
709
  .action-gutter {
710
710
  pointer-events: visible;
711
711
  opacity: 1;
@@ -1085,4 +1085,4 @@
1085
1085
  }
1086
1086
  .highlight {
1087
1087
  background-color: #ffeebf !important;
1088
- }
1088
+ }