@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/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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* TOAST UI Editor : i18n
|
|
3
|
-
* @version 3.
|
|
3
|
+
* @version 3.1.1
|
|
4
4
|
* @author NHN FE Development Lab <dl_javascript@nhn.com>
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -102,38 +102,39 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
102
102
|
/**
|
|
103
103
|
* @fileoverview I18N for Russian
|
|
104
104
|
* @author Stepan Samko <stpnsamko@gmail.com>
|
|
105
|
+
* @author Veaceslav Grimalschi <grimalschi@yandex.ru>
|
|
105
106
|
*/
|
|
106
107
|
|
|
107
108
|
_editorCore__WEBPACK_IMPORTED_MODULE_0___default().setLanguage(['ru', 'ru-RU'], {
|
|
108
109
|
Markdown: 'Markdown',
|
|
109
110
|
WYSIWYG: 'WYSIWYG',
|
|
110
|
-
Write: '
|
|
111
|
-
Preview: '
|
|
111
|
+
Write: 'Редактор',
|
|
112
|
+
Preview: 'Просмотр',
|
|
112
113
|
Headings: 'Заголовки',
|
|
113
114
|
Paragraph: 'Абзац',
|
|
114
115
|
Bold: 'Жирный',
|
|
115
116
|
Italic: 'Курсив',
|
|
116
117
|
Strike: 'Зачеркнутый',
|
|
117
|
-
Code: '
|
|
118
|
-
Line: '
|
|
119
|
-
Blockquote: '
|
|
118
|
+
Code: 'Код',
|
|
119
|
+
Line: 'Линия',
|
|
120
|
+
Blockquote: 'Цитата',
|
|
120
121
|
'Unordered list': 'Неупорядоченный список',
|
|
121
122
|
'Ordered list': 'Упорядоченный список',
|
|
122
|
-
Task: '
|
|
123
|
-
Indent: 'отступ',
|
|
124
|
-
Outdent: '
|
|
123
|
+
Task: 'Галочка',
|
|
124
|
+
Indent: 'Увеличить отступ',
|
|
125
|
+
Outdent: 'Уменьшить отступ',
|
|
125
126
|
'Insert link': 'Вставить ссылку',
|
|
126
|
-
'Insert CodeBlock': 'Вставить
|
|
127
|
+
'Insert CodeBlock': 'Вставить блок кода',
|
|
127
128
|
'Insert table': 'Вставить таблицу',
|
|
128
129
|
'Insert image': 'Вставить изображение',
|
|
129
130
|
Heading: 'Заголовок',
|
|
130
131
|
'Image URL': 'URL изображения',
|
|
131
132
|
'Select image file': 'Выбрать файл изображения',
|
|
132
|
-
'Choose a file': '
|
|
133
|
+
'Choose a file': 'Выбрать',
|
|
133
134
|
'No file': 'Нет файла',
|
|
134
135
|
Description: 'Описание',
|
|
135
136
|
OK: 'Хорошо',
|
|
136
|
-
More: '
|
|
137
|
+
More: 'Еще',
|
|
137
138
|
Cancel: 'Отмена',
|
|
138
139
|
File: 'Файл',
|
|
139
140
|
URL: 'URL',
|
|
@@ -150,8 +151,8 @@ _editorCore__WEBPACK_IMPORTED_MODULE_0___default().setLanguage(['ru', 'ru-RU'],
|
|
|
150
151
|
'Remove table': 'Удалить таблицу',
|
|
151
152
|
'Would you like to paste as table?': 'Вы хотите вставить в виде таблицы?',
|
|
152
153
|
'Text color': 'Цвет текста',
|
|
153
|
-
'Auto scroll enabled': '
|
|
154
|
-
'Auto scroll disabled': '
|
|
154
|
+
'Auto scroll enabled': 'Автопрокрутка включена',
|
|
155
|
+
'Auto scroll disabled': 'Автопрокрутка отключена',
|
|
155
156
|
'Choose language': 'Выбрать язык',
|
|
156
157
|
});
|
|
157
158
|
|
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.1 | Wed Oct 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,13 +119,26 @@
|
|
|
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;
|
|
140
|
+
position: relative;
|
|
141
|
+
width: 100%;
|
|
134
142
|
}
|
|
135
143
|
|
|
136
144
|
.toastui-editor-ww-container .toastui-editor-contents {
|
|
@@ -148,7 +156,7 @@
|
|
|
148
156
|
.toastui-editor-md-mode .toastui-editor-md-container,
|
|
149
157
|
.toastui-editor-ww-mode .toastui-editor-ww-container {
|
|
150
158
|
display: block;
|
|
151
|
-
z-index:
|
|
159
|
+
z-index: 20;
|
|
152
160
|
}
|
|
153
161
|
|
|
154
162
|
.toastui-editor-md-mode .toastui-editor-md-vertical-style {
|
|
@@ -185,7 +193,7 @@
|
|
|
185
193
|
}
|
|
186
194
|
|
|
187
195
|
.toastui-editor-defaultUI .toastui-editor-ok-button {
|
|
188
|
-
width: 63px;
|
|
196
|
+
min-width: 63px;
|
|
189
197
|
height: 32px;
|
|
190
198
|
background-color: #00a9ff;
|
|
191
199
|
color: #fff;
|
|
@@ -197,7 +205,7 @@
|
|
|
197
205
|
}
|
|
198
206
|
|
|
199
207
|
.toastui-editor-defaultUI .toastui-editor-close-button {
|
|
200
|
-
width: 63px;
|
|
208
|
+
min-width: 63px;
|
|
201
209
|
height: 32px;
|
|
202
210
|
background-color: #f7f9fc;
|
|
203
211
|
border: 1px solid #dadde6;
|
|
@@ -402,7 +410,7 @@
|
|
|
402
410
|
.toastui-editor-dropdown-toolbar {
|
|
403
411
|
position: absolute;
|
|
404
412
|
height: 46px;
|
|
405
|
-
z-index:
|
|
413
|
+
z-index: 30;
|
|
406
414
|
border-radius: 2px;
|
|
407
415
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
408
416
|
border: 1px solid #dadde6;
|
|
@@ -422,7 +430,7 @@
|
|
|
422
430
|
width: 400px;
|
|
423
431
|
margin-right: auto;
|
|
424
432
|
background: #fff;
|
|
425
|
-
z-index:
|
|
433
|
+
z-index: 30;
|
|
426
434
|
position: absolute;
|
|
427
435
|
border-radius: 2px;
|
|
428
436
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
@@ -514,7 +522,7 @@
|
|
|
514
522
|
}
|
|
515
523
|
|
|
516
524
|
.toastui-editor-popup-add-image .toastui-editor-file-name {
|
|
517
|
-
width:
|
|
525
|
+
width: 58%;
|
|
518
526
|
display: inline-block;
|
|
519
527
|
border-radius: 2px;
|
|
520
528
|
border: 1px solid #e1e3e9;
|
|
@@ -533,7 +541,7 @@
|
|
|
533
541
|
}
|
|
534
542
|
|
|
535
543
|
.toastui-editor-popup-add-image .toastui-editor-file-select-button {
|
|
536
|
-
width:
|
|
544
|
+
width: 33%;
|
|
537
545
|
margin-left: 5px;
|
|
538
546
|
height: 32px;
|
|
539
547
|
border-radius: 2px;
|
|
@@ -582,7 +590,7 @@
|
|
|
582
590
|
left: 0;
|
|
583
591
|
border: 1px solid #00a9ff;
|
|
584
592
|
background: rgba(0, 169, 255, 0.1);
|
|
585
|
-
z-index:
|
|
593
|
+
z-index: 30;
|
|
586
594
|
}
|
|
587
595
|
|
|
588
596
|
.toastui-editor-popup-add-table .toastui-editor-table-description {
|
|
@@ -658,7 +666,7 @@
|
|
|
658
666
|
border-radius: 2px;
|
|
659
667
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
660
668
|
border: 1px solid #dadde6;
|
|
661
|
-
z-index:
|
|
669
|
+
z-index: 30;
|
|
662
670
|
padding: 5px 0;
|
|
663
671
|
background-color: #fff;
|
|
664
672
|
}
|
|
@@ -752,7 +760,7 @@
|
|
|
752
760
|
.toastui-editor-tooltip {
|
|
753
761
|
position: absolute;
|
|
754
762
|
background-color: #444;
|
|
755
|
-
z-index:
|
|
763
|
+
z-index: 40;
|
|
756
764
|
padding: 4px 7px;
|
|
757
765
|
font-size: 12px;
|
|
758
766
|
border-radius: 3px;
|
|
@@ -1,9 +1,16 @@
|
|
|
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
|
*/
|
|
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 {
|