@techie_doubts/tui.editor.2026 3.2.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.
Files changed (75) hide show
  1. package/README.md +176 -0
  2. package/dist/esm/i18n/ar.js +65 -0
  3. package/dist/esm/i18n/cs-cz.js +65 -0
  4. package/dist/esm/i18n/de-de.js +65 -0
  5. package/dist/esm/i18n/en-us.js +65 -0
  6. package/dist/esm/i18n/es-es.js +65 -0
  7. package/dist/esm/i18n/fi-fi.js +65 -0
  8. package/dist/esm/i18n/fr-fr.js +65 -0
  9. package/dist/esm/i18n/gl-es.js +65 -0
  10. package/dist/esm/i18n/hr-hr.js +65 -0
  11. package/dist/esm/i18n/i18n.js +116 -0
  12. package/dist/esm/i18n/it-it.js +65 -0
  13. package/dist/esm/i18n/ja-jp.js +65 -0
  14. package/dist/esm/i18n/ko-kr.js +65 -0
  15. package/dist/esm/i18n/nb-no.js +65 -0
  16. package/dist/esm/i18n/nl-nl.js +65 -0
  17. package/dist/esm/i18n/pl-pl.js +65 -0
  18. package/dist/esm/i18n/pt-br.js +65 -0
  19. package/dist/esm/i18n/ru-ru.js +66 -0
  20. package/dist/esm/i18n/sv-se.js +65 -0
  21. package/dist/esm/i18n/tr-tr.js +65 -0
  22. package/dist/esm/i18n/uk-ua.js +65 -0
  23. package/dist/esm/i18n/zh-cn.js +65 -0
  24. package/dist/esm/i18n/zh-tw.js +65 -0
  25. package/dist/esm/index.js +28323 -0
  26. package/dist/esm/indexViewer.js +12432 -0
  27. package/dist/i18n/ar.js +161 -0
  28. package/dist/i18n/cs-cz.js +161 -0
  29. package/dist/i18n/de-de.js +161 -0
  30. package/dist/i18n/es-es.js +161 -0
  31. package/dist/i18n/fi-fi.js +161 -0
  32. package/dist/i18n/fr-fr.js +161 -0
  33. package/dist/i18n/gl-es.js +161 -0
  34. package/dist/i18n/hr-hr.js +161 -0
  35. package/dist/i18n/it-it.js +161 -0
  36. package/dist/i18n/ja-jp.js +161 -0
  37. package/dist/i18n/ko-kr.js +161 -0
  38. package/dist/i18n/nb-no.js +161 -0
  39. package/dist/i18n/nl-nl.js +161 -0
  40. package/dist/i18n/pl-pl.js +161 -0
  41. package/dist/i18n/pt-br.js +161 -0
  42. package/dist/i18n/ru-ru.js +162 -0
  43. package/dist/i18n/sv-se.js +161 -0
  44. package/dist/i18n/tr-tr.js +161 -0
  45. package/dist/i18n/uk-ua.js +161 -0
  46. package/dist/i18n/zh-cn.js +161 -0
  47. package/dist/i18n/zh-tw.js +161 -0
  48. package/dist/td-editor-only.css +1148 -0
  49. package/dist/td-editor-viewer.css +591 -0
  50. package/dist/td-editor-viewer.js +13712 -0
  51. package/dist/td-editor.css +1777 -0
  52. package/dist/td-editor.js +29832 -0
  53. package/dist/theme/td-editor-dark.css +555 -0
  54. package/dist/theme/toastui-editor-dark.css +555 -0
  55. package/dist/toastui-editor-only.css +1148 -0
  56. package/dist/toastui-editor-viewer.css +591 -0
  57. package/dist/toastui-editor-viewer.js +13712 -0
  58. package/dist/toastui-editor.css +1777 -0
  59. package/dist/toastui-editor.js +29832 -0
  60. package/package.json +97 -0
  61. package/types/convertor.d.ts +142 -0
  62. package/types/editor.d.ts +383 -0
  63. package/types/event.d.ts +60 -0
  64. package/types/index.d.ts +70 -0
  65. package/types/map.d.ts +8 -0
  66. package/types/markdown.d.ts +60 -0
  67. package/types/plugin.d.ts +59 -0
  68. package/types/prosemirror-commands.d.ts +15 -0
  69. package/types/prosemirror-model.d.ts +15 -0
  70. package/types/prosemirror-transform.d.ts +35 -0
  71. package/types/spec.d.ts +43 -0
  72. package/types/toastmark.d.ts +361 -0
  73. package/types/toastui-editor-viewer.d.ts +39 -0
  74. package/types/ui.d.ts +171 -0
  75. package/types/wysiwyg.d.ts +46 -0
@@ -0,0 +1,591 @@
1
+ /*!
2
+ * @toast-ui/editor
3
+ * @version 3.2.2 | Fri Feb 20 2026
4
+ * @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
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
+ */
14
+ .ProseMirror {
15
+ font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', 'Arial', '나눔바른고딕',
16
+ 'Nanum Barun Gothic', '맑은고딕', 'Malgun Gothic', sans-serif;
17
+ color: #222;
18
+ font-size: 13px;
19
+ overflow-y: auto;
20
+ overflow-X: hidden;
21
+ height: calc(100% - 36px);
22
+ }
23
+
24
+ .ProseMirror .placeholder {
25
+ color: #999;
26
+ }
27
+
28
+ .ProseMirror:focus {
29
+ outline: none;
30
+ }
31
+
32
+ .ProseMirror img[mark-placeholder] {
33
+ width: 0;
34
+ height: 0;
35
+ display: inline;
36
+ border: 0;
37
+ outline: 0;
38
+ }
39
+
40
+ .ProseMirror-selectednode {
41
+ outline: none;
42
+ }
43
+
44
+ table.ProseMirror-selectednode {
45
+ border-radius: 2px;
46
+ outline: 2px solid #00a9ff;
47
+ }
48
+
49
+ .html-block.ProseMirror-selectednode {
50
+ border-radius: 2px;
51
+ outline: 2px solid #00a9ff;
52
+ }
53
+
54
+ .toastui-editor-contents {
55
+ margin: 0;
56
+ padding: 0;
57
+ font-size: 13px;
58
+ font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', 'Arial', '나눔바른고딕',
59
+ 'Nanum Barun Gothic', '맑은고딕', 'Malgun Gothic', sans-serif;
60
+ z-index: 20;
61
+ }
62
+
63
+ .toastui-editor-contents *:not(table) {
64
+ line-height: 160%;
65
+ box-sizing: content-box;
66
+ }
67
+
68
+ .toastui-editor-contents i,
69
+ .toastui-editor-contents cite,
70
+ .toastui-editor-contents em,
71
+ .toastui-editor-contents var,
72
+ .toastui-editor-contents address,
73
+ .toastui-editor-contents dfn {
74
+ font-style: italic;
75
+ }
76
+
77
+ .toastui-editor-contents strong {
78
+ font-weight: bold;
79
+ }
80
+
81
+ .toastui-editor-contents p {
82
+ margin: 10px 0;
83
+ color: #222;
84
+ }
85
+
86
+ .toastui-editor-contents > h1:first-of-type,
87
+ .toastui-editor-contents > div > div:first-of-type h1 {
88
+ margin-top: 14px;
89
+ }
90
+
91
+ .toastui-editor-contents h1,
92
+ .toastui-editor-contents h2,
93
+ .toastui-editor-contents h3,
94
+ .toastui-editor-contents h4,
95
+ .toastui-editor-contents h5,
96
+ .toastui-editor-contents h6 {
97
+ font-weight: bold;
98
+ color: #222;
99
+ }
100
+
101
+ .toastui-editor-contents h1 {
102
+ font-size: 24px;
103
+ line-height: 28px;
104
+ border-bottom: 3px double #999;
105
+ margin: 52px 0 15px 0;
106
+ padding-bottom: 7px;
107
+ }
108
+
109
+ .toastui-editor-contents h2 {
110
+ font-size: 22px;
111
+ line-height: 23px;
112
+ border-bottom: 1px solid #dbdbdb;
113
+ margin: 20px 0 13px 0;
114
+ padding-bottom: 7px;
115
+ }
116
+
117
+ .toastui-editor-contents h3 {
118
+ font-size: 20px;
119
+ margin: 18px 0 2px;
120
+ }
121
+
122
+ .toastui-editor-contents h4 {
123
+ font-size: 18px;
124
+ margin: 10px 0 2px;
125
+ }
126
+
127
+ .toastui-editor-contents h3,
128
+ .toastui-editor-contents h4 {
129
+ line-height: 18px;
130
+ }
131
+
132
+ .toastui-editor-contents h5 {
133
+ font-size: 16px;
134
+ }
135
+
136
+ .toastui-editor-contents h6 {
137
+ font-size: 14px;
138
+ }
139
+
140
+ .toastui-editor-contents h5,
141
+ .toastui-editor-contents h6 {
142
+ line-height: 17px;
143
+ margin: 9px 0 -4px;
144
+ }
145
+
146
+ .toastui-editor-contents del {
147
+ color: #999;
148
+ }
149
+
150
+ .toastui-editor-contents mark {
151
+ background-color: #fff3bf;
152
+ }
153
+
154
+ .toastui-editor-contents blockquote {
155
+ margin: 14px 0;
156
+ border-left: 4px solid #e5e5e5;
157
+ padding: 0 16px;
158
+ color: #999;
159
+ }
160
+
161
+ .toastui-editor-contents blockquote p,
162
+ .toastui-editor-contents blockquote ul,
163
+ .toastui-editor-contents blockquote ol {
164
+ color: #999;
165
+ }
166
+
167
+ .toastui-editor-contents blockquote > :first-child {
168
+ margin-top: 0;
169
+ }
170
+
171
+ .toastui-editor-contents blockquote > :last-child {
172
+ margin-bottom: 0;
173
+ }
174
+
175
+ .toastui-editor-contents pre,
176
+ .toastui-editor-contents code {
177
+ font-family: Consolas, Courier, 'Apple SD 산돌고딕 Neo', -apple-system, 'Lucida Grande',
178
+ 'Apple SD Gothic Neo', '맑은 고딕', 'Malgun Gothic', 'Segoe UI', '돋움', dotum, sans-serif;
179
+ border: 0;
180
+ border-radius: 0;
181
+ }
182
+
183
+ .toastui-editor-contents pre {
184
+ margin: 2px 0 8px;
185
+ padding: 18px;
186
+ background-color: #f4f7f8;
187
+ text-shadow: none;
188
+ }
189
+
190
+ .toastui-editor-contents code {
191
+ color: #c1798b;
192
+ background-color: #f9f2f4;
193
+ padding: 2px 3px;
194
+ letter-spacing: -0.3px;
195
+ border-radius: 2px;
196
+ }
197
+
198
+ .toastui-editor-contents pre code {
199
+ padding: 0;
200
+ color: inherit;
201
+ white-space: pre-wrap;
202
+ background-color: transparent;
203
+ }
204
+
205
+ .toastui-editor-contents img {
206
+ margin: 4px 0 10px;
207
+ box-sizing: border-box;
208
+ vertical-align: top;
209
+ max-width: 100%;
210
+ }
211
+
212
+ .toastui-editor-contents table {
213
+ border: 1px solid rgba(0, 0, 0, 0.1);
214
+ margin: 12px 0 14px;
215
+ color: #222;
216
+ width: auto;
217
+ border-collapse: collapse;
218
+ box-sizing: border-box;
219
+ }
220
+
221
+ .toastui-editor-contents table th,
222
+ .toastui-editor-contents table td {
223
+ border: 1px solid rgba(0, 0, 0, 0.1);
224
+ padding: 5px 14px 5px 12px;
225
+ height: 32px;
226
+ }
227
+
228
+ .toastui-editor-contents table th {
229
+ background-color: #555;
230
+ font-weight: 300;
231
+ color: #fff;
232
+ padding-top: 6px;
233
+ }
234
+
235
+ .toastui-editor-contents th p {
236
+ margin: 0;
237
+ color: #fff;
238
+ }
239
+
240
+ .toastui-editor-contents td p {
241
+ margin: 0;
242
+ padding: 0 2px;
243
+ }
244
+
245
+ .toastui-editor-contents td.toastui-editor-cell-selected {
246
+ background-color: #d8dfec;
247
+ }
248
+
249
+ .toastui-editor-contents th.toastui-editor-cell-selected {
250
+ background-color: #908f8f;
251
+ }
252
+
253
+ .toastui-editor-contents ul,
254
+ .toastui-editor-contents menu,
255
+ .toastui-editor-contents ol,
256
+ .toastui-editor-contents dir {
257
+ display: block;
258
+ list-style-type: none;
259
+ padding-left: 24px;
260
+ margin: 6px 0 10px;
261
+ color: #222;
262
+ }
263
+
264
+ .toastui-editor-contents ol {
265
+ list-style-type: none;
266
+ counter-reset: li;
267
+ }
268
+
269
+ .toastui-editor-contents ol > li {
270
+ counter-increment: li;
271
+ }
272
+
273
+ .toastui-editor-contents ul > li::before,
274
+ .toastui-editor-contents ol > li::before {
275
+ display: inline-block;
276
+ position: absolute;
277
+ }
278
+
279
+ .toastui-editor-contents ul > li::before {
280
+ content: '';
281
+ margin-top: 6px;
282
+ margin-left: -17px;
283
+ width: 5px;
284
+ height: 5px;
285
+ border-radius: 50%;
286
+ background-color: #ccc;
287
+ }
288
+
289
+ .toastui-editor-contents ol > li::before {
290
+ content: '.' counter(li);
291
+ margin-left: -28px;
292
+ width: 24px;
293
+ text-align: right;
294
+ direction: rtl;
295
+ color: #aaa;
296
+ }
297
+
298
+ .toastui-editor-contents ul ul,
299
+ .toastui-editor-contents ul ol,
300
+ .toastui-editor-contents ol ol,
301
+ .toastui-editor-contents ol ul {
302
+ margin-top: 0 !important;
303
+ margin-bottom: 0 !important;
304
+ }
305
+
306
+ .toastui-editor-contents ul li,
307
+ .toastui-editor-contents ol li {
308
+ position: relative;
309
+ }
310
+
311
+ .toastui-editor-contents ul p,
312
+ .toastui-editor-contents ol p {
313
+ margin: 0;
314
+ }
315
+
316
+ .toastui-editor-contents hr {
317
+ border-top: 1px solid #eee;
318
+ margin: 16px 0;
319
+ }
320
+
321
+ .toastui-editor-contents a {
322
+ text-decoration: underline;
323
+ color: #4b96e6;
324
+ }
325
+
326
+ .toastui-editor-contents a:hover {
327
+ color: #1f70de;
328
+ }
329
+
330
+ .toastui-editor-contents .image-link {
331
+ position: relative;
332
+ }
333
+
334
+ .toastui-editor-contents .image-link:hover::before {
335
+ content: '';
336
+ position: absolute;
337
+ width: 30px;
338
+ height: 30px;
339
+ right: 0px;
340
+ border-radius: 50%;
341
+ border: 1px solid #c9ccd5;
342
+ background: #fff url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj4KICAgICAgICA8ZyBzdHJva2U9IiM1NTUiIHN0cm9rZS13aWR0aD0iMS41Ij4KICAgICAgICAgICAgPGc+CiAgICAgICAgICAgICAgICA8Zz4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNy42NjUgMTUuMDdsLTEuODE5LS4wMDJjLTEuNDg2IDAtMi42OTItMS4yMjgtMi42OTItMi43NDR2LS4xOTJjMC0xLjUxNSAxLjIwNi0yLjc0NCAyLjY5Mi0yLjc0NGgzLjg0NmMxLjQ4NyAwIDIuNjkyIDEuMjI5IDIuNjkyIDIuNzQ0di4xOTIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMDAwIC00NTgxKSB0cmFuc2xhdGUoOTk1IDQ1NzYpIHRyYW5zbGF0ZSg1IDUpIHNjYWxlKDEgLTEpIHJvdGF0ZSg0NSAzNy4yOTMgMCkiLz4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTIuMzI2IDQuOTM0bDEuODIyLjAwMmMxLjQ4NyAwIDIuNjkzIDEuMjI4IDIuNjkzIDIuNzQ0di4xOTJjMCAxLjUxNS0xLjIwNiAyLjc0NC0yLjY5MyAyLjc0NGgtMy44NDVjLTEuNDg3IDAtMi42OTItMS4yMjktMi42OTItMi43NDRWNy42OCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEwMDAgLTQ1ODEpIHRyYW5zbGF0ZSg5OTUgNDU3NikgdHJhbnNsYXRlKDUgNSkgc2NhbGUoMSAtMSkgcm90YXRlKDQ1IDMwLjk5NiAwKSIvPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K) no-repeat;
343
+ background-position: center;
344
+ box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
345
+ cursor: pointer;
346
+ }
347
+
348
+ .toastui-editor-contents .task-list-item {
349
+ border: 0;
350
+ list-style: none;
351
+ padding-left: 24px;
352
+ margin-left: -24px;
353
+ }
354
+
355
+ .toastui-editor-contents .task-list-item::before {
356
+ background-repeat: no-repeat;
357
+ background-size: 18px 18px;
358
+ background-position: center;
359
+ content: '';
360
+ margin-left: 0;
361
+ margin-top: 0;
362
+ border-radius: 2px;
363
+ height: 18px;
364
+ width: 18px;
365
+ position: absolute;
366
+ left: 0;
367
+ top: 1px;
368
+ cursor: pointer;
369
+ background: transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgZmlsbD0iI0ZGRiIgc3Ryb2tlPSIjQ0NDIj4KICAgICAgICAgICAgPGc+CiAgICAgICAgICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTAzMCAtMjk2KSB0cmFuc2xhdGUoNzg4IDE5MikgdHJhbnNsYXRlKDI0MiAxMDQpIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCB3aWR0aD0iMTciIGhlaWdodD0iMTciIHg9Ii41IiB5PSIuNSIgcng9IjIiLz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+Cg==);
370
+ }
371
+
372
+ .toastui-editor-contents .task-list-item.checked::before {
373
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgZmlsbD0iIzRCOTZFNiI+CiAgICAgICAgICAgIDxnPgogICAgICAgICAgICAgICAgPGc+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTE2IDBjMS4xMDUgMCAyIC44OTUgMiAydjE0YzAgMS4xMDUtLjg5NSAyLTIgMkgyYy0xLjEwNSAwLTItLjg5NS0yLTJWMkMwIC44OTUuODk1IDAgMiAwaDE0em0tMS43OTMgNS4yOTNjLS4zOS0uMzktMS4wMjQtLjM5LTEuNDE0IDBMNy41IDEwLjU4NSA1LjIwNyA4LjI5M2wtLjA5NC0uMDgzYy0uMzkyLS4zMDUtLjk2LS4yNzgtMS4zMi4wODMtLjM5LjM5LS4zOSAxLjAyNCAwIDEuNDE0bDMgMyAuMDk0LjA4M2MuMzkyLjMwNS45Ni4yNzggMS4zMi0uMDgzbDYtNiAuMDgzLS4wOTRjLjMwNS0uMzkyLjI3OC0uOTYtLjA4My0xLjMyeiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEwNTAgLTI5NikgdHJhbnNsYXRlKDc4OCAxOTIpIHRyYW5zbGF0ZSgyNjIgMTA0KSIvPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K);
374
+ }
375
+
376
+ .toastui-editor-custom-block .toastui-editor-custom-block-editor {
377
+ background: #f9f7fd;
378
+ color: #452d6b;
379
+ border: solid 1px #dbd4ea;
380
+ }
381
+
382
+ .toastui-editor-custom-block .toastui-editor-custom-block-view {
383
+ position: relative;
384
+ padding: 9px 13px 8px 12px;
385
+ }
386
+
387
+ .toastui-editor-custom-block.ProseMirror-selectednode .toastui-editor-custom-block-view {
388
+ border: solid 1px #dbd4ea;
389
+ border-radius: 2px;
390
+ }
391
+
392
+ .toastui-editor-custom-block .toastui-editor-custom-block-view .tool {
393
+ position: absolute;
394
+ right: 10px;
395
+ top: 7px;
396
+ display: none;
397
+ }
398
+
399
+ .toastui-editor-custom-block.ProseMirror-selectednode .toastui-editor-custom-block-view .tool {
400
+ display: block;
401
+ }
402
+
403
+ .toastui-editor-custom-block-view button {
404
+ vertical-align: middle;
405
+ width: 15px;
406
+ height: 15px;
407
+ margin-left: 8px;
408
+ padding: 3px;
409
+ border: solid 1px #cccccc;
410
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzAgMzAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMwIDMwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6IzU1NTU1NTt9Cjwvc3R5bGU+CjxnPgoJPGc+CgkJPGc+CgkJCTxnPgoJCQkJPGc+CgkJCQkJPHBhdGggY2xhc3M9InN0MCIgZD0iTTE1LjUsMTIuNWwyLDJMMTIsMjBoLTJ2LTJMMTUuNSwxMi41eiBNMTgsMTBsMiwybC0xLjUsMS41bC0yLTJMMTgsMTB6Ii8+CgkJCQk8L2c+CgkJCTwvZz4KCQk8L2c+Cgk8L2c+CjwvZz4KPC9zdmc+Cg==)
411
+ no-repeat;
412
+ background-position: center;
413
+ background-size: 30px 30px;
414
+ }
415
+
416
+ .toastui-editor-custom-block-view .info {
417
+ font-size: 13px;
418
+ font-weight: bold;
419
+ color: #5200d0;
420
+ vertical-align: middle;
421
+ }
422
+
423
+ .toastui-editor-contents .toastui-editor-ww-code-block {
424
+ position: relative;
425
+ }
426
+
427
+ .toastui-editor-contents .toastui-editor-ww-code-block:after {
428
+ content: attr(data-language);
429
+ position: absolute;
430
+ display: inline-block;
431
+ top: 10px;
432
+ right: 10px;
433
+ height: 24px;
434
+ padding: 3px 35px 0 10px;
435
+ font-weight: bold;
436
+ font-size: 13px;
437
+ color: #333;
438
+ background: #e5e9ea url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzAgMzAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMwIDMwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6IzU1NTU1NTt9Cjwvc3R5bGU+CjxnPgoJPGc+CgkJPGc+CgkJCTxnPgoJCQkJPGc+CgkJCQkJPHBhdGggY2xhc3M9InN0MCIgZD0iTTE1LjUsMTIuNWwyLDJMMTIsMjBoLTJ2LTJMMTUuNSwxMi41eiBNMTgsMTBsMiwybC0xLjUsMS41bC0yLTJMMTgsMTB6Ii8+CgkJCQk8L2c+CgkJCTwvZz4KCQk8L2c+Cgk8L2c+CjwvZz4KPC9zdmc+Cg==) no-repeat;
439
+ background-position: right;
440
+ border-radius: 2px;
441
+ background-size: 30px 30px;
442
+ cursor: pointer;
443
+ }
444
+
445
+ .toastui-editor-ww-code-block-language {
446
+ position: fixed;
447
+ display: inline-flex;
448
+ align-items: center;
449
+ gap: 4px;
450
+ padding: 4px 8px;
451
+ border: 1px solid #ccc;
452
+ border-radius: 2px;
453
+ background-color: #fff;
454
+ z-index: 30;
455
+ white-space: nowrap;
456
+ }
457
+
458
+ .toastui-editor-ww-code-block-label {
459
+ font-size: 12px;
460
+ color: #555;
461
+ user-select: none;
462
+ }
463
+
464
+ .toastui-editor-ww-code-block-lang-input {
465
+ box-sizing: border-box;
466
+ margin: 0;
467
+ padding: 2px 6px;
468
+ height: 24px;
469
+ width: 90px;
470
+ background-color: transparent;
471
+ border: 1px solid #ddd;
472
+ border-radius: 2px;
473
+ outline: none;
474
+ font-size: 13px;
475
+ }
476
+
477
+ .toastui-editor-ww-code-block-line-input {
478
+ box-sizing: border-box;
479
+ margin: 0;
480
+ padding: 2px 6px;
481
+ height: 24px;
482
+ width: 50px;
483
+ background-color: transparent;
484
+ border: 1px solid #ddd;
485
+ border-radius: 2px;
486
+ outline: none;
487
+ font-size: 13px;
488
+ }
489
+
490
+ .toastui-editor-ww-code-block-lang-input:focus,
491
+ .toastui-editor-ww-code-block-line-input:focus {
492
+ border-color: #4b96e6;
493
+ }
494
+
495
+ .toastui-editor-ww-code-block.has-line-numbers {
496
+ display: flex;
497
+ flex-direction: row;
498
+ align-items: stretch;
499
+ }
500
+
501
+ .toastui-editor-ww-code-block.has-line-numbers pre {
502
+ flex: 1;
503
+ min-width: 0;
504
+ margin: 0;
505
+ border-top-left-radius: 0;
506
+ border-bottom-left-radius: 0;
507
+ }
508
+
509
+ .toastui-editor-ww-code-block-gutter {
510
+ flex-shrink: 0;
511
+ box-sizing: border-box;
512
+ padding: 16px 10px 16px 10px;
513
+ text-align: right;
514
+ white-space: pre;
515
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
516
+ font-size: 13px;
517
+ line-height: 160%;
518
+ color: #999;
519
+ background: #f4f5f6;
520
+ border-right: 1px solid #dadde0;
521
+ border-radius: 4px 0 0 4px;
522
+ user-select: none;
523
+ cursor: default;
524
+ }
525
+
526
+ .toastui-editor-contents pre.line-numbers {
527
+ padding: 0;
528
+ display: flex;
529
+ flex-direction: row;
530
+ }
531
+
532
+ .toastui-editor-contents pre.line-numbers::before {
533
+ content: attr(data-line-numbers);
534
+ flex-shrink: 0;
535
+ box-sizing: border-box;
536
+ padding: 18px 10px 18px 10px;
537
+ text-align: right;
538
+ white-space: pre;
539
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
540
+ font-size: 13px;
541
+ line-height: 160%;
542
+ color: #999;
543
+ background: #f4f5f6;
544
+ border-right: 1px solid #dadde0;
545
+ user-select: none;
546
+ }
547
+
548
+ .toastui-editor-contents pre.line-numbers code {
549
+ flex: 1;
550
+ min-width: 0;
551
+ padding: 18px;
552
+ overflow-x: auto;
553
+ line-height: 160%;
554
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
555
+ font-size: 13px;
556
+ white-space: pre;
557
+ }
558
+
559
+ .toastui-editor-contents-placeholder::before {
560
+ content: attr(data-placeholder);
561
+ color: grey;
562
+ line-height: 160%;
563
+ position: absolute;
564
+ }
565
+
566
+ .toastui-editor-md-preview .toastui-editor-contents h1 {
567
+ min-height: 28px;
568
+ }
569
+
570
+ .toastui-editor-md-preview .toastui-editor-contents h2 {
571
+ min-height: 23px;
572
+ }
573
+
574
+ .toastui-editor-md-preview .toastui-editor-contents blockquote {
575
+ min-height: 20px;
576
+ }
577
+
578
+ .toastui-editor-md-preview .toastui-editor-contents li {
579
+ min-height: 22px;
580
+ }
581
+
582
+ .toastui-editor-pseudo-clipboard {
583
+ position: fixed;
584
+ opacity: 0;
585
+ width: 0;
586
+ height: 0;
587
+ left: -1000px;
588
+ top: -1000px;
589
+ z-index: -1;
590
+ }
591
+