@toast-ui/editor 3.0.2 → 3.1.2
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 +7 -0
- package/dist/esm/i18n/cs-cz.js +7 -0
- package/dist/esm/i18n/de-de.js +7 -0
- package/dist/esm/i18n/en-us.js +7 -0
- package/dist/esm/i18n/es-es.js +7 -0
- package/dist/esm/i18n/fi-fi.js +7 -0
- package/dist/esm/i18n/fr-fr.js +7 -0
- package/dist/esm/i18n/gl-es.js +7 -0
- package/dist/esm/i18n/hr-hr.js +7 -0
- package/dist/esm/i18n/i18n.js +15 -4
- package/dist/esm/i18n/it-it.js +7 -0
- package/dist/esm/i18n/ja-jp.js +7 -0
- package/dist/esm/i18n/ko-kr.js +7 -0
- package/dist/esm/i18n/nb-no.js +7 -0
- package/dist/esm/i18n/nl-nl.js +7 -0
- package/dist/esm/i18n/pl-pl.js +7 -0
- package/dist/esm/i18n/pt-br.js +7 -0
- package/dist/esm/i18n/ru-ru.js +7 -0
- package/dist/esm/i18n/sv-se.js +7 -0
- package/dist/esm/i18n/tr-tr.js +7 -0
- package/dist/esm/i18n/uk-ua.js +7 -0
- package/dist/esm/i18n/zh-cn.js +7 -0
- package/dist/esm/i18n/zh-tw.js +7 -0
- package/dist/esm/index.js +2885 -426
- package/dist/esm/indexViewer.js +1672 -297
- 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 +1 -1
- 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 +22 -16
- package/dist/toastui-editor-viewer.css +10 -2
- package/dist/toastui-editor-viewer.js +1823 -370
- package/dist/toastui-editor.css +31 -17
- package/dist/toastui-editor.js +2853 -318
- package/package.json +5 -1
- package/types/editor.d.ts +6 -4
- package/types/event.d.ts +1 -0
- package/types/index.d.ts +4 -3
- package/types/toastui-editor-viewer.d.ts +39 -0
package/dist/i18n/ar.js
CHANGED
package/dist/i18n/cs-cz.js
CHANGED
package/dist/i18n/de-de.js
CHANGED
package/dist/i18n/es-es.js
CHANGED
package/dist/i18n/fi-fi.js
CHANGED
package/dist/i18n/fr-fr.js
CHANGED
package/dist/i18n/gl-es.js
CHANGED
package/dist/i18n/hr-hr.js
CHANGED
package/dist/i18n/it-it.js
CHANGED
package/dist/i18n/ja-jp.js
CHANGED
package/dist/i18n/ko-kr.js
CHANGED
package/dist/i18n/nb-no.js
CHANGED
package/dist/i18n/nl-nl.js
CHANGED
package/dist/i18n/pl-pl.js
CHANGED
package/dist/i18n/pt-br.js
CHANGED
package/dist/i18n/ru-ru.js
CHANGED
package/dist/i18n/sv-se.js
CHANGED
package/dist/i18n/tr-tr.js
CHANGED
package/dist/i18n/uk-ua.js
CHANGED
package/dist/i18n/zh-cn.js
CHANGED
package/dist/i18n/zh-tw.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @toast-ui/editor
|
|
3
|
-
* @version 3.
|
|
3
|
+
* @version 3.1.2 | Mon Dec 27 2021
|
|
4
4
|
* @author NHN FE Development Lab <dl_javascript@nhn.com>
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -37,13 +37,6 @@
|
|
|
37
37
|
clear: both;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.toastui-editor-md-container {
|
|
41
|
-
position: absolute;
|
|
42
|
-
line-height: 1;
|
|
43
|
-
color: #222;
|
|
44
|
-
width: 100%;
|
|
45
|
-
height: inherit;
|
|
46
|
-
}
|
|
47
40
|
|
|
48
41
|
.toastui-editor-main {
|
|
49
42
|
min-height: 0px;
|
|
@@ -115,6 +108,8 @@
|
|
|
115
108
|
height: 100%;
|
|
116
109
|
width: 1px;
|
|
117
110
|
background-color: #ebedf2;
|
|
111
|
+
position: absolute;
|
|
112
|
+
left: 50%;
|
|
118
113
|
}
|
|
119
114
|
|
|
120
115
|
.toastui-editor-main .toastui-editor-md-vertical-style .toastui-editor-md-splitter {
|
|
@@ -124,14 +119,25 @@
|
|
|
124
119
|
.toastui-editor-ww-container {
|
|
125
120
|
display: none;
|
|
126
121
|
overflow: hidden;
|
|
127
|
-
z-index: 10;
|
|
128
122
|
height: inherit;
|
|
129
123
|
background-color: #fff;
|
|
130
124
|
}
|
|
131
125
|
|
|
126
|
+
.auto-height .toastui-editor-main-container {
|
|
127
|
+
position: relative;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.toastui-editor-main-container {
|
|
131
|
+
position: absolute;
|
|
132
|
+
line-height: 1;
|
|
133
|
+
color: #222;
|
|
134
|
+
width: 100%;
|
|
135
|
+
height: inherit;
|
|
136
|
+
}
|
|
137
|
+
|
|
132
138
|
.toastui-editor-ww-container > .toastui-editor {
|
|
133
139
|
height: inherit;
|
|
134
|
-
position:
|
|
140
|
+
position: relative;
|
|
135
141
|
width: 100%;
|
|
136
142
|
}
|
|
137
143
|
|
|
@@ -150,7 +156,7 @@
|
|
|
150
156
|
.toastui-editor-md-mode .toastui-editor-md-container,
|
|
151
157
|
.toastui-editor-ww-mode .toastui-editor-ww-container {
|
|
152
158
|
display: block;
|
|
153
|
-
z-index:
|
|
159
|
+
z-index: 20;
|
|
154
160
|
}
|
|
155
161
|
|
|
156
162
|
.toastui-editor-md-mode .toastui-editor-md-vertical-style {
|
|
@@ -404,7 +410,7 @@
|
|
|
404
410
|
.toastui-editor-dropdown-toolbar {
|
|
405
411
|
position: absolute;
|
|
406
412
|
height: 46px;
|
|
407
|
-
z-index:
|
|
413
|
+
z-index: 30;
|
|
408
414
|
border-radius: 2px;
|
|
409
415
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
410
416
|
border: 1px solid #dadde6;
|
|
@@ -424,7 +430,7 @@
|
|
|
424
430
|
width: 400px;
|
|
425
431
|
margin-right: auto;
|
|
426
432
|
background: #fff;
|
|
427
|
-
z-index:
|
|
433
|
+
z-index: 30;
|
|
428
434
|
position: absolute;
|
|
429
435
|
border-radius: 2px;
|
|
430
436
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
@@ -584,7 +590,7 @@
|
|
|
584
590
|
left: 0;
|
|
585
591
|
border: 1px solid #00a9ff;
|
|
586
592
|
background: rgba(0, 169, 255, 0.1);
|
|
587
|
-
z-index:
|
|
593
|
+
z-index: 30;
|
|
588
594
|
}
|
|
589
595
|
|
|
590
596
|
.toastui-editor-popup-add-table .toastui-editor-table-description {
|
|
@@ -660,7 +666,7 @@
|
|
|
660
666
|
border-radius: 2px;
|
|
661
667
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
662
668
|
border: 1px solid #dadde6;
|
|
663
|
-
z-index:
|
|
669
|
+
z-index: 30;
|
|
664
670
|
padding: 5px 0;
|
|
665
671
|
background-color: #fff;
|
|
666
672
|
}
|
|
@@ -754,7 +760,7 @@
|
|
|
754
760
|
.toastui-editor-tooltip {
|
|
755
761
|
position: absolute;
|
|
756
762
|
background-color: #444;
|
|
757
|
-
z-index:
|
|
763
|
+
z-index: 40;
|
|
758
764
|
padding: 4px 7px;
|
|
759
765
|
font-size: 12px;
|
|
760
766
|
border-radius: 3px;
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @toast-ui/editor
|
|
3
|
-
* @version 3.
|
|
3
|
+
* @version 3.1.2 | Mon Dec 27 2021
|
|
4
4
|
* @author NHN FE Development Lab <dl_javascript@nhn.com>
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
+
/*
|
|
8
|
+
z-index basis
|
|
9
|
+
-1: pseudo element
|
|
10
|
+
20 - preview, wysiwyg
|
|
11
|
+
30 - wysiwyg code block language editor, popup, context menu
|
|
12
|
+
40 - tooltip
|
|
13
|
+
*/
|
|
7
14
|
.ProseMirror {
|
|
8
15
|
font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', 'Arial', '나눔바른고딕',
|
|
9
16
|
'Nanum Barun Gothic', '맑은고딕', 'Malgun Gothic', sans-serif;
|
|
@@ -42,6 +49,7 @@ table.ProseMirror-selectednode {
|
|
|
42
49
|
font-size: 13px;
|
|
43
50
|
font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', 'Arial', '나눔바른고딕',
|
|
44
51
|
'Nanum Barun Gothic', '맑은고딕', 'Malgun Gothic', sans-serif;
|
|
52
|
+
z-index: 20;
|
|
45
53
|
}
|
|
46
54
|
|
|
47
55
|
.toastui-editor-contents *:not(table) {
|
|
@@ -430,7 +438,7 @@ table.ProseMirror-selectednode {
|
|
|
430
438
|
border: 1px solid #ccc;
|
|
431
439
|
border-radius: 2px;
|
|
432
440
|
background-color: #fff;
|
|
433
|
-
z-index:
|
|
441
|
+
z-index: 30;
|
|
434
442
|
}
|
|
435
443
|
|
|
436
444
|
.toastui-editor-ww-code-block-language input {
|