@toast-ui/editor 3.0.1 → 3.1.1
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/README.md +4 -4
- package/dist/esm/i18n/ar.js +63 -0
- package/dist/esm/i18n/cs-cz.js +63 -0
- package/dist/esm/i18n/de-de.js +63 -0
- package/dist/esm/i18n/en-us.js +63 -0
- package/dist/esm/i18n/es-es.js +63 -0
- package/dist/esm/i18n/fi-fi.js +63 -0
- package/dist/esm/i18n/fr-fr.js +63 -0
- package/dist/esm/i18n/gl-es.js +63 -0
- package/dist/esm/i18n/hr-hr.js +63 -0
- package/dist/esm/i18n/i18n.js +223 -0
- package/dist/esm/i18n/it-it.js +63 -0
- package/dist/esm/i18n/ja-jp.js +63 -0
- package/dist/esm/i18n/ko-kr.js +63 -0
- package/dist/esm/i18n/nb-no.js +63 -0
- package/dist/esm/i18n/nl-nl.js +63 -0
- package/dist/esm/i18n/pl-pl.js +63 -0
- package/dist/esm/i18n/pt-br.js +63 -0
- package/dist/esm/i18n/ru-ru.js +64 -0
- package/dist/esm/i18n/sv-se.js +63 -0
- package/dist/esm/i18n/tr-tr.js +63 -0
- package/dist/esm/i18n/uk-ua.js +63 -0
- package/dist/esm/i18n/zh-cn.js +63 -0
- package/dist/esm/i18n/zh-tw.js +63 -0
- package/dist/esm/index.js +2887 -441
- package/dist/esm/indexViewer.js +1659 -293
- package/dist/i18n/ar.js +1 -1
- package/dist/i18n/cs-cz.js +1 -1
- package/dist/i18n/de-de.js +1 -1
- package/dist/i18n/es-es.js +1 -1
- package/dist/i18n/fi-fi.js +1 -1
- package/dist/i18n/fr-fr.js +1 -1
- package/dist/i18n/gl-es.js +1 -1
- package/dist/i18n/hr-hr.js +1 -1
- package/dist/i18n/it-it.js +1 -1
- package/dist/i18n/ja-jp.js +1 -1
- package/dist/i18n/ko-kr.js +1 -1
- package/dist/i18n/nb-no.js +1 -1
- package/dist/i18n/nl-nl.js +1 -1
- package/dist/i18n/pl-pl.js +1 -1
- package/dist/i18n/pt-br.js +1 -1
- package/dist/i18n/ru-ru.js +15 -14
- package/dist/i18n/sv-se.js +1 -1
- package/dist/i18n/tr-tr.js +1 -1
- package/dist/i18n/uk-ua.js +1 -1
- package/dist/i18n/zh-cn.js +1 -1
- package/dist/i18n/zh-tw.js +1 -1
- package/dist/toastui-editor-only.css +27 -19
- package/dist/toastui-editor-viewer.css +10 -2
- package/dist/toastui-editor-viewer.js +1849 -386
- package/dist/toastui-editor.css +36 -20
- package/dist/toastui-editor.js +2841 -318
- package/package.json +10 -1
- package/types/editor.d.ts +6 -4
- package/types/index.d.ts +4 -3
- package/types/toastui-editor-viewer.d.ts +39 -0
package/dist/toastui-editor.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @toast-ui/editor
|
|
3
|
-
* @version 3.
|
|
3
|
+
* @version 3.1.1 | Wed Oct 27 2021
|
|
4
4
|
* @author NHN FE Development Lab <dl_javascript@nhn.com>
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -81,13 +81,6 @@ li.ProseMirror-selectednode:after {
|
|
|
81
81
|
clear: both;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.toastui-editor-md-container {
|
|
85
|
-
position: absolute;
|
|
86
|
-
line-height: 1;
|
|
87
|
-
color: #222;
|
|
88
|
-
width: 100%;
|
|
89
|
-
height: inherit;
|
|
90
|
-
}
|
|
91
84
|
|
|
92
85
|
.toastui-editor-main {
|
|
93
86
|
min-height: 0px;
|
|
@@ -159,6 +152,8 @@ li.ProseMirror-selectednode:after {
|
|
|
159
152
|
height: 100%;
|
|
160
153
|
width: 1px;
|
|
161
154
|
background-color: #ebedf2;
|
|
155
|
+
position: absolute;
|
|
156
|
+
left: 50%;
|
|
162
157
|
}
|
|
163
158
|
|
|
164
159
|
.toastui-editor-main .toastui-editor-md-vertical-style .toastui-editor-md-splitter {
|
|
@@ -168,13 +163,26 @@ li.ProseMirror-selectednode:after {
|
|
|
168
163
|
.toastui-editor-ww-container {
|
|
169
164
|
display: none;
|
|
170
165
|
overflow: hidden;
|
|
171
|
-
z-index: 10;
|
|
172
166
|
height: inherit;
|
|
173
167
|
background-color: #fff;
|
|
174
168
|
}
|
|
175
169
|
|
|
170
|
+
.auto-height .toastui-editor-main-container {
|
|
171
|
+
position: relative;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.toastui-editor-main-container {
|
|
175
|
+
position: absolute;
|
|
176
|
+
line-height: 1;
|
|
177
|
+
color: #222;
|
|
178
|
+
width: 100%;
|
|
179
|
+
height: inherit;
|
|
180
|
+
}
|
|
181
|
+
|
|
176
182
|
.toastui-editor-ww-container > .toastui-editor {
|
|
177
183
|
height: inherit;
|
|
184
|
+
position: relative;
|
|
185
|
+
width: 100%;
|
|
178
186
|
}
|
|
179
187
|
|
|
180
188
|
.toastui-editor-ww-container .toastui-editor-contents {
|
|
@@ -192,7 +200,7 @@ li.ProseMirror-selectednode:after {
|
|
|
192
200
|
.toastui-editor-md-mode .toastui-editor-md-container,
|
|
193
201
|
.toastui-editor-ww-mode .toastui-editor-ww-container {
|
|
194
202
|
display: block;
|
|
195
|
-
z-index:
|
|
203
|
+
z-index: 20;
|
|
196
204
|
}
|
|
197
205
|
|
|
198
206
|
.toastui-editor-md-mode .toastui-editor-md-vertical-style {
|
|
@@ -229,7 +237,7 @@ li.ProseMirror-selectednode:after {
|
|
|
229
237
|
}
|
|
230
238
|
|
|
231
239
|
.toastui-editor-defaultUI .toastui-editor-ok-button {
|
|
232
|
-
width: 63px;
|
|
240
|
+
min-width: 63px;
|
|
233
241
|
height: 32px;
|
|
234
242
|
background-color: #00a9ff;
|
|
235
243
|
color: #fff;
|
|
@@ -241,7 +249,7 @@ li.ProseMirror-selectednode:after {
|
|
|
241
249
|
}
|
|
242
250
|
|
|
243
251
|
.toastui-editor-defaultUI .toastui-editor-close-button {
|
|
244
|
-
width: 63px;
|
|
252
|
+
min-width: 63px;
|
|
245
253
|
height: 32px;
|
|
246
254
|
background-color: #f7f9fc;
|
|
247
255
|
border: 1px solid #dadde6;
|
|
@@ -446,7 +454,7 @@ li.ProseMirror-selectednode:after {
|
|
|
446
454
|
.toastui-editor-dropdown-toolbar {
|
|
447
455
|
position: absolute;
|
|
448
456
|
height: 46px;
|
|
449
|
-
z-index:
|
|
457
|
+
z-index: 30;
|
|
450
458
|
border-radius: 2px;
|
|
451
459
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
452
460
|
border: 1px solid #dadde6;
|
|
@@ -466,7 +474,7 @@ li.ProseMirror-selectednode:after {
|
|
|
466
474
|
width: 400px;
|
|
467
475
|
margin-right: auto;
|
|
468
476
|
background: #fff;
|
|
469
|
-
z-index:
|
|
477
|
+
z-index: 30;
|
|
470
478
|
position: absolute;
|
|
471
479
|
border-radius: 2px;
|
|
472
480
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
@@ -558,7 +566,7 @@ li.ProseMirror-selectednode:after {
|
|
|
558
566
|
}
|
|
559
567
|
|
|
560
568
|
.toastui-editor-popup-add-image .toastui-editor-file-name {
|
|
561
|
-
width:
|
|
569
|
+
width: 58%;
|
|
562
570
|
display: inline-block;
|
|
563
571
|
border-radius: 2px;
|
|
564
572
|
border: 1px solid #e1e3e9;
|
|
@@ -577,7 +585,7 @@ li.ProseMirror-selectednode:after {
|
|
|
577
585
|
}
|
|
578
586
|
|
|
579
587
|
.toastui-editor-popup-add-image .toastui-editor-file-select-button {
|
|
580
|
-
width:
|
|
588
|
+
width: 33%;
|
|
581
589
|
margin-left: 5px;
|
|
582
590
|
height: 32px;
|
|
583
591
|
border-radius: 2px;
|
|
@@ -626,7 +634,7 @@ li.ProseMirror-selectednode:after {
|
|
|
626
634
|
left: 0;
|
|
627
635
|
border: 1px solid #00a9ff;
|
|
628
636
|
background: rgba(0, 169, 255, 0.1);
|
|
629
|
-
z-index:
|
|
637
|
+
z-index: 30;
|
|
630
638
|
}
|
|
631
639
|
|
|
632
640
|
.toastui-editor-popup-add-table .toastui-editor-table-description {
|
|
@@ -702,7 +710,7 @@ li.ProseMirror-selectednode:after {
|
|
|
702
710
|
border-radius: 2px;
|
|
703
711
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
704
712
|
border: 1px solid #dadde6;
|
|
705
|
-
z-index:
|
|
713
|
+
z-index: 30;
|
|
706
714
|
padding: 5px 0;
|
|
707
715
|
background-color: #fff;
|
|
708
716
|
}
|
|
@@ -796,7 +804,7 @@ li.ProseMirror-selectednode:after {
|
|
|
796
804
|
.toastui-editor-tooltip {
|
|
797
805
|
position: absolute;
|
|
798
806
|
background-color: #444;
|
|
799
|
-
z-index:
|
|
807
|
+
z-index: 40;
|
|
800
808
|
padding: 4px 7px;
|
|
801
809
|
font-size: 12px;
|
|
802
810
|
border-radius: 3px;
|
|
@@ -930,6 +938,13 @@ li.ProseMirror-selectednode:after {
|
|
|
930
938
|
max-width: none;
|
|
931
939
|
}
|
|
932
940
|
}
|
|
941
|
+
/*
|
|
942
|
+
z-index basis
|
|
943
|
+
-1: pseudo element
|
|
944
|
+
20 - preview, wysiwyg
|
|
945
|
+
30 - wysiwyg code block language editor, popup, context menu
|
|
946
|
+
40 - tooltip
|
|
947
|
+
*/
|
|
933
948
|
.ProseMirror {
|
|
934
949
|
font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', 'Arial', '나눔바른고딕',
|
|
935
950
|
'Nanum Barun Gothic', '맑은고딕', 'Malgun Gothic', sans-serif;
|
|
@@ -968,6 +983,7 @@ table.ProseMirror-selectednode {
|
|
|
968
983
|
font-size: 13px;
|
|
969
984
|
font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', 'Arial', '나눔바른고딕',
|
|
970
985
|
'Nanum Barun Gothic', '맑은고딕', 'Malgun Gothic', sans-serif;
|
|
986
|
+
z-index: 20;
|
|
971
987
|
}
|
|
972
988
|
|
|
973
989
|
.toastui-editor-contents *:not(table) {
|
|
@@ -1356,7 +1372,7 @@ table.ProseMirror-selectednode {
|
|
|
1356
1372
|
border: 1px solid #ccc;
|
|
1357
1373
|
border-radius: 2px;
|
|
1358
1374
|
background-color: #fff;
|
|
1359
|
-
z-index:
|
|
1375
|
+
z-index: 30;
|
|
1360
1376
|
}
|
|
1361
1377
|
|
|
1362
1378
|
.toastui-editor-ww-code-block-language input {
|