@manuscripts/body-editor 3.8.2 → 3.8.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 +25 -2
- package/dist/cjs/components/LanguageDropdown/index.js +3 -2
- package/dist/cjs/components/authors/AuthorDetailsForm.js +1 -1
- package/dist/cjs/components/references/ImportBibliographyModal.js +2 -2
- package/dist/cjs/configs/editor-plugins.js +2 -0
- package/dist/cjs/icons.js +13 -13
- package/dist/{es/components/LanguageDropdown → cjs/lib}/languages.js +10 -10
- package/dist/cjs/lib/popper.js +1 -0
- package/dist/cjs/plugins/section_category.js +1 -1
- package/dist/cjs/plugins/translations.js +96 -0
- package/dist/cjs/versions.js +1 -1
- package/dist/cjs/views/figure_element.js +1 -1
- package/dist/cjs/views/section.js +0 -80
- package/dist/cjs/views/translated_abstract.js +0 -66
- package/dist/es/commands.js +22 -0
- package/dist/es/components/LanguageDropdown/index.js +3 -2
- package/dist/es/components/authors/AuthorDetailsForm.js +1 -1
- package/dist/es/components/references/ImportBibliographyModal.js +2 -2
- package/dist/es/configs/editor-plugins.js +2 -0
- package/dist/es/icons.js +13 -13
- package/dist/{cjs/components/LanguageDropdown → es/lib}/languages.js +5 -15
- package/dist/es/lib/popper.js +1 -0
- package/dist/es/plugins/section_category.js +1 -1
- package/dist/es/plugins/translations.js +94 -0
- package/dist/es/versions.js +1 -1
- package/dist/es/views/figure_element.js +2 -2
- package/dist/es/views/section.js +0 -80
- package/dist/es/views/translated_abstract.js +0 -66
- package/dist/types/commands.d.ts +1 -0
- package/dist/types/components/LanguageDropdown/index.d.ts +1 -1
- package/dist/types/configs/ManuscriptsEditor.d.ts +1 -1
- package/dist/types/icons.d.ts +1 -1
- package/dist/types/{components/LanguageDropdown → lib}/languages.d.ts +2 -11
- package/dist/types/plugins/translations.d.ts +19 -0
- package/dist/types/versions.d.ts +1 -1
- package/dist/types/views/section.d.ts +0 -7
- package/dist/types/views/translated_abstract.d.ts +0 -11
- package/package.json +1 -1
- package/styles/AdvancedEditor.css +52 -53
|
@@ -183,14 +183,6 @@
|
|
|
183
183
|
margin-bottom: 30px;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
.ProseMirror .block-figure_element .add-button {
|
|
187
|
-
border: 0px;
|
|
188
|
-
left: 53px;
|
|
189
|
-
width: 25px;
|
|
190
|
-
height: 25px;
|
|
191
|
-
position: absolute;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
186
|
.ProseMirror .figure-block:hover .options-button {
|
|
195
187
|
visibility: visible;
|
|
196
188
|
}
|
|
@@ -1820,45 +1812,37 @@ th:hover > .table-context-menu-button,
|
|
|
1820
1812
|
.prosemirror-dropcursor-block {
|
|
1821
1813
|
background-color: transparent !important;
|
|
1822
1814
|
}
|
|
1815
|
+
|
|
1823
1816
|
.ProseMirror .add-button {
|
|
1824
|
-
border:
|
|
1817
|
+
border: 0;
|
|
1825
1818
|
z-index: 1;
|
|
1826
1819
|
cursor: pointer;
|
|
1827
1820
|
border-radius: 50%;
|
|
1828
|
-
background
|
|
1821
|
+
background: unset;
|
|
1822
|
+
padding: 0;
|
|
1829
1823
|
}
|
|
1830
1824
|
|
|
1831
|
-
.ProseMirror .add-button
|
|
1832
|
-
|
|
1825
|
+
.ProseMirror .block-figure_element .add-button {
|
|
1826
|
+
left: 53px;
|
|
1827
|
+
position: absolute;
|
|
1833
1828
|
}
|
|
1834
1829
|
|
|
1835
|
-
.ProseMirror .add-button svg
|
|
1836
|
-
fill: #
|
|
1830
|
+
.ProseMirror .add-button svg rect {
|
|
1831
|
+
fill: #6E6E6E !important;
|
|
1837
1832
|
}
|
|
1838
1833
|
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
position: relative;
|
|
1834
|
+
.ProseMirror .add-button.disabled svg rect {
|
|
1835
|
+
fill: #e2e2e2 !important;
|
|
1842
1836
|
}
|
|
1843
1837
|
|
|
1844
|
-
|
|
1845
|
-
display: flex;
|
|
1846
|
-
align-items: center;
|
|
1847
|
-
gap: 8px;
|
|
1848
|
-
margin: 8px 0;
|
|
1849
|
-
padding: 6px 12px;
|
|
1850
|
-
position: absolute;
|
|
1851
|
-
right: 50px;
|
|
1852
|
-
z-index: 5;
|
|
1853
|
-
cursor: pointer;
|
|
1854
|
-
}
|
|
1838
|
+
/* Abstract translations */
|
|
1855
1839
|
|
|
1856
1840
|
/* Add translation button for individual sections within abstracts */
|
|
1857
1841
|
.ProseMirror .abstracts section[data-category] {
|
|
1858
1842
|
position: relative;
|
|
1859
1843
|
}
|
|
1860
1844
|
|
|
1861
|
-
.ProseMirror .
|
|
1845
|
+
.ProseMirror .add-trans-abstract {
|
|
1862
1846
|
display: flex;
|
|
1863
1847
|
align-items: center;
|
|
1864
1848
|
gap: 8px;
|
|
@@ -1869,41 +1853,56 @@ th:hover > .table-context-menu-button,
|
|
|
1869
1853
|
top: 0;
|
|
1870
1854
|
z-index: 5;
|
|
1871
1855
|
cursor: pointer;
|
|
1856
|
+
background: unset;
|
|
1857
|
+
border: none;
|
|
1872
1858
|
}
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
color: #353535;
|
|
1876
|
-
}
|
|
1877
|
-
.ProseMirror .abstracts .add-translation-container .add-button {
|
|
1878
|
-
margin: 0;
|
|
1879
|
-
padding: 0;
|
|
1859
|
+
|
|
1860
|
+
.ProseMirror .add-trans-abstract svg {
|
|
1880
1861
|
width: 16px;
|
|
1881
1862
|
height: 16px;
|
|
1882
|
-
display: flex;
|
|
1883
|
-
align-items: center;
|
|
1884
|
-
justify-content: center;
|
|
1885
1863
|
}
|
|
1886
1864
|
|
|
1887
|
-
.ProseMirror .
|
|
1888
|
-
|
|
1889
|
-
height: 8px;
|
|
1865
|
+
.ProseMirror .add-trans-abstract svg rect {
|
|
1866
|
+
fill: #6E6E6E !important;
|
|
1890
1867
|
}
|
|
1868
|
+
|
|
1869
|
+
.ProseMirror .add-trans-abstract-text {
|
|
1870
|
+
font-size: 14px;
|
|
1871
|
+
color: #353535;
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1891
1874
|
.ProseMirror .block-trans_abstract .language-selector-btn {
|
|
1892
|
-
position: absolute;
|
|
1893
|
-
z-index: 9;
|
|
1894
|
-
top: 40px;
|
|
1895
|
-
border: 0px;
|
|
1896
|
-
background: transparent;
|
|
1897
|
-
right: 60px;
|
|
1898
1875
|
display: flex;
|
|
1899
|
-
|
|
1876
|
+
position: absolute;
|
|
1877
|
+
top: 14px;
|
|
1878
|
+
right: 50px;
|
|
1879
|
+
line-height: 1.6;
|
|
1880
|
+
background: unset;
|
|
1881
|
+
border: none;
|
|
1882
|
+
padding: 0;
|
|
1883
|
+
margin: 0 6px;
|
|
1884
|
+
cursor: pointer;
|
|
1885
|
+
z-index: 10;
|
|
1886
|
+
align-items: end;
|
|
1887
|
+
gap: 8px;
|
|
1900
1888
|
font-size: 14px;
|
|
1901
1889
|
color: #6e6e6e;
|
|
1902
|
-
cursor: pointer;
|
|
1903
1890
|
}
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1891
|
+
|
|
1892
|
+
.language.menu .menu-item {
|
|
1893
|
+
margin-right: 25px
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
.language.menu .menu-item.selected:after {
|
|
1897
|
+
top: 10px;
|
|
1898
|
+
right: 19px;
|
|
1899
|
+
position: absolute;
|
|
1900
|
+
content: '';
|
|
1901
|
+
height: 10px;
|
|
1902
|
+
width: 5px;
|
|
1903
|
+
border-bottom: 2px solid #36b260;
|
|
1904
|
+
border-right: 2px solid #36b260;
|
|
1905
|
+
transform: rotate(45deg);
|
|
1907
1906
|
}
|
|
1908
1907
|
|
|
1909
1908
|
.ProseMirror .block-trans_abstract p.empty-node[data-placeholder] {
|