@licium/editor 3.2.6 → 3.2.8
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/esm/i18n/ar.js +1 -1
- package/dist/esm/i18n/cs-cz.js +1 -1
- package/dist/esm/i18n/de-de.js +1 -1
- package/dist/esm/i18n/en-us.js +1 -1
- package/dist/esm/i18n/es-es.js +1 -1
- package/dist/esm/i18n/fi-fi.js +1 -1
- package/dist/esm/i18n/fr-fr.js +1 -1
- package/dist/esm/i18n/gl-es.js +1 -1
- package/dist/esm/i18n/hr-hr.js +1 -1
- package/dist/esm/i18n/i18n.js +1 -1
- package/dist/esm/i18n/it-it.js +1 -1
- package/dist/esm/i18n/ja-jp.js +1 -1
- package/dist/esm/i18n/ko-kr.js +1 -1
- package/dist/esm/i18n/nb-no.js +1 -1
- package/dist/esm/i18n/nl-nl.js +1 -1
- package/dist/esm/i18n/pl-pl.js +1 -1
- package/dist/esm/i18n/pt-br.js +1 -1
- package/dist/esm/i18n/ru-ru.js +1 -1
- package/dist/esm/i18n/sv-se.js +1 -1
- package/dist/esm/i18n/tr-tr.js +1 -1
- package/dist/esm/i18n/uk-ua.js +1 -1
- package/dist/esm/i18n/zh-cn.js +1 -1
- package/dist/esm/i18n/zh-tw.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/indexViewer.js +1 -1
- 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/theme/toastui-editor-dark.css +20 -4
- package/dist/toastui-editor-only.css +134 -4
- package/dist/toastui-editor-viewer.css +1 -1
- package/dist/toastui-editor-viewer.js +1 -1
- package/dist/toastui-editor.css +134 -4
- package/dist/toastui-editor.js +1 -1
- package/package.json +2 -2
- package/types/index.d.ts +1 -1
package/dist/esm/i18n/ar.js
CHANGED
package/dist/esm/i18n/cs-cz.js
CHANGED
package/dist/esm/i18n/de-de.js
CHANGED
package/dist/esm/i18n/en-us.js
CHANGED
package/dist/esm/i18n/es-es.js
CHANGED
package/dist/esm/i18n/fi-fi.js
CHANGED
package/dist/esm/i18n/fr-fr.js
CHANGED
package/dist/esm/i18n/gl-es.js
CHANGED
package/dist/esm/i18n/hr-hr.js
CHANGED
package/dist/esm/i18n/i18n.js
CHANGED
package/dist/esm/i18n/it-it.js
CHANGED
package/dist/esm/i18n/ja-jp.js
CHANGED
package/dist/esm/i18n/ko-kr.js
CHANGED
package/dist/esm/i18n/nb-no.js
CHANGED
package/dist/esm/i18n/nl-nl.js
CHANGED
package/dist/esm/i18n/pl-pl.js
CHANGED
package/dist/esm/i18n/pt-br.js
CHANGED
package/dist/esm/i18n/ru-ru.js
CHANGED
package/dist/esm/i18n/sv-se.js
CHANGED
package/dist/esm/i18n/tr-tr.js
CHANGED
package/dist/esm/i18n/uk-ua.js
CHANGED
package/dist/esm/i18n/zh-cn.js
CHANGED
package/dist/esm/i18n/zh-tw.js
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/esm/indexViewer.js
CHANGED
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
|
@@ -501,9 +501,9 @@
|
|
|
501
501
|
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eee' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='4' x2='10' y2='4'/%3E%3Cline x1='14' y1='20' x2='5' y2='20'/%3E%3Cline x1='15' y1='4' x2='9' y2='20'/%3E%3C/svg%3E") !important;
|
|
502
502
|
}
|
|
503
503
|
|
|
504
|
-
/* Strike (S) */
|
|
504
|
+
/* Strike (S) - Refined Geometric */
|
|
505
505
|
.toastui-editor-dark .toastui-editor-toolbar-icons.strike {
|
|
506
|
-
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eee' stroke-width='2
|
|
506
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6c0-2.5-2-3.5-5-3.5s-5 1.5-5 4c0 2.5 3 3.5 5 4.5c2 1 5 2 5 4.5c0 3-2.5 4-5 4c-3 0-5-1.5-5.5-4'/%3E%3Cpath d='M4 12h16'/%3E%3C/svg%3E") !important;
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
/* HR Line */
|
|
@@ -521,9 +521,25 @@
|
|
|
521
521
|
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='9' y1='6' x2='20' y2='6'/%3E%3Cline x1='9' y1='12' x2='20' y2='12'/%3E%3Cline x1='9' y1='18' x2='20' y2='18'/%3E%3Ccircle cx='5' cy='6' r='1' fill='%23eee' stroke='none'/%3E%3Ccircle cx='5' cy='12' r='1' fill='%23eee' stroke='none'/%3E%3Ccircle cx='5' cy='18' r='1' fill='%23eee' stroke='none'/%3E%3C/svg%3E") !important;
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
/* Ordered List */
|
|
524
|
+
/* Ordered List - Refined */
|
|
525
525
|
.toastui-editor-dark .toastui-editor-toolbar-icons.ordered-list {
|
|
526
|
-
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%
|
|
526
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6h11M10 12h11M10 18h11M4 8l2-3v14'/%3E%3C/svg%3E") !important;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/* Text Color Plugin (Dark Mode) - High Specificity */
|
|
530
|
+
.toastui-editor-dark .toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-icons.color {
|
|
531
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l-7 17h3l1.5-4h9l1.5 4h3L12 3z'/%3E%3Cpath d='M10.4 14h3.2L12 9l-1.6 5z' fill='%23eee' stroke='none'/%3E%3Cline x1='4' y1='22' x2='20' y2='22'/%3E%3C/svg%3E") !important;
|
|
532
|
+
background-size: 24px 24px !important;
|
|
533
|
+
background-position: center center !important;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/* Code Block (Dark Mode) - Force Fix */
|
|
537
|
+
.toastui-editor-dark .toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-icons.codeblock,
|
|
538
|
+
.toastui-editor-dark .toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-icons.code-block {
|
|
539
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E") !important;
|
|
540
|
+
text-indent: -9999px !important;
|
|
541
|
+
/* Hide text 'CB' */
|
|
542
|
+
color: transparent !important;
|
|
527
543
|
}
|
|
528
544
|
|
|
529
545
|
/* Task List */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @licium/editor
|
|
3
|
-
* @version 3.2.
|
|
3
|
+
* @version 3.2.7 | Sat Jan 03 2026
|
|
4
4
|
* @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -300,7 +300,8 @@
|
|
|
300
300
|
.toastui-editor-defaultUI-toolbar {
|
|
301
301
|
display: -ms-flexbox;
|
|
302
302
|
display: flex;
|
|
303
|
-
|
|
303
|
+
justify-content: space-between;
|
|
304
|
+
padding: 0 10px;
|
|
304
305
|
height: 45px;
|
|
305
306
|
background-color: #f7f9fc;
|
|
306
307
|
border-bottom: 1px solid #ebedf2;
|
|
@@ -317,7 +318,7 @@
|
|
|
317
318
|
width: 1px;
|
|
318
319
|
height: 18px;
|
|
319
320
|
background-color: #e1e3e9;
|
|
320
|
-
margin: 14px
|
|
321
|
+
margin: 14px 0px;
|
|
321
322
|
}
|
|
322
323
|
|
|
323
324
|
.toastui-editor-toolbar-group {
|
|
@@ -332,7 +333,7 @@
|
|
|
332
333
|
height: 32px;
|
|
333
334
|
padding: 0;
|
|
334
335
|
border-radius: 3px;
|
|
335
|
-
margin: 7px
|
|
336
|
+
margin: 7px 3px;
|
|
336
337
|
border: 1px solid #f7f9fc;
|
|
337
338
|
}
|
|
338
339
|
|
|
@@ -350,6 +351,7 @@
|
|
|
350
351
|
line-height: 10px;
|
|
351
352
|
color: #81858f;
|
|
352
353
|
cursor: pointer;
|
|
354
|
+
align-self: center;
|
|
353
355
|
}
|
|
354
356
|
|
|
355
357
|
.toastui-editor-defaultUI-toolbar .scroll-sync::before {
|
|
@@ -898,6 +900,134 @@ only screen and (min-resolution: 2dppx) {
|
|
|
898
900
|
max-width: none;
|
|
899
901
|
}
|
|
900
902
|
}
|
|
903
|
+
|
|
904
|
+
/* FIX: Global Icon Replacement (Stroked SVGs for Light Mode) */
|
|
905
|
+
.toastui-editor-defaultUI-toolbar {
|
|
906
|
+
background-color: #fff;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
.toastui-editor-toolbar-icons {
|
|
910
|
+
background-image: none !important;
|
|
911
|
+
/* Kill sprite */
|
|
912
|
+
background-repeat: no-repeat !important;
|
|
913
|
+
background-position: center center !important;
|
|
914
|
+
background-size: 24px 24px !important;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
/* Heading (H) */
|
|
918
|
+
.toastui-editor-toolbar-icons.heading {
|
|
919
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27square%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 5v14M18 5v14M6 12h12%27/%3E%3C/svg%3E") !important;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
/* Bold (B) */
|
|
923
|
+
.toastui-editor-toolbar-icons.bold {
|
|
924
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z%27/%3E%3Cpath d=%27M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z%27/%3E%3C/svg%3E") !important;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
/* Italic (I) */
|
|
928
|
+
.toastui-editor-toolbar-icons.italic {
|
|
929
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cline x1=%2719%27 y1=%274%27 x2=%2710%27 y2=%274%27/%3Cline x1=%2714%27 y1=%2720%27 x2=%275%27 y2=%2720%27/%3Cline x1=%2715%27 y1=%274%27 x2=%279%27 y2=%2720%27/%3E%3C/svg%3E") !important;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
/* Strike (S) - Refined Geometric */
|
|
933
|
+
.toastui-editor-toolbar-icons.strike {
|
|
934
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M15 6c0-2.5-2-3.5-5-3.5s-5 1.5-5 4c0 2.5 3 3.5 5 4.5c2 1 5 2 5 4.5c0 3-2.5 4-5 4c-3 0-5-1.5-5.5-4%27/%3E%3Cpath d=%27M4 12h16%27/%3E%3C/svg%3E") !important;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
/* HR Line */
|
|
938
|
+
.toastui-editor-toolbar-icons.hrline {
|
|
939
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cline x1=%274%27 y1=%2712%27 x2=%2720%27 y2=%2712%27/%3E%3C/svg%3E") !important;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
/* Quote */
|
|
943
|
+
.toastui-editor-toolbar-icons.quote {
|
|
944
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M10 11h-4a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v6c0 2.667-1.333 4.333-4 5%27/%3E%3Cpath d=%27M19 11h-4a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v6c0 2.667-1.333 4.333-4 5%27/%3E%3C/svg%3E") !important;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
/* Bullet List */
|
|
948
|
+
.toastui-editor-toolbar-icons.bullet-list {
|
|
949
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cline x1=%279%27 y1=%276%27 x2=%2720%27 y2=%276%27/%3Cline x1=%279%27 y1=%2712%27 x2=%2720%27 y2=%2712%27/%3Cline x1=%279%27 y1=%2718%27 x2=%2720%27 y2=%2718%27/%3E%3Ccircle cx=%275%27 cy=%276%27 r=%271%27 fill=%27%23333%27 stroke=%27none%27/%3E%3Ccircle cx=%275%27 cy=%2712%27 r=%271%27 fill=%27%23333%27 stroke=%27none%27/%3E%3Ccircle cx=%275%27 cy=%2718%27 r=%271%27 fill=%27%23333%27 stroke=%27none%27/%3E%3C/svg%3E") !important;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/* Ordered List - Refined */
|
|
953
|
+
.toastui-editor-toolbar-icons.ordered-list {
|
|
954
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M10 6h11M10 12h11M10 18h11M4 8l2-3v14%27/%3E%3C/svg%3E") !important;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
/* Task List */
|
|
958
|
+
.toastui-editor-toolbar-icons.task-list {
|
|
959
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%275%27 width=%2718%27 height=%2714%27 rx=%272%27 ry=%272%27/%3E%3Cpolyline points=%279 11 11 13 15 9%27/%3E%3C/svg%3E") !important;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
/* Indent */
|
|
963
|
+
.toastui-editor-toolbar-icons.indent {
|
|
964
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%273 8 7 12 3 16%27/%3E%3Cline x1=%2721%27 y1=%2712%27 x2=%2711%27 y2=%2712%27/%3E%3Cline x1=%2721%27 y1=%276%27 x2=%2711%27 y2=%276%27/%3E%3Cline x1=%2721%27 y1=%2718%27 x2=%2711%27 y2=%2718%27/%3E%3C/svg%3E") !important;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/* Outdent */
|
|
968
|
+
.toastui-editor-toolbar-icons.outdent {
|
|
969
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%277 8 3 12 7 16%27/%3E%3Cline x1=%2721%27 y1=%2712%27 x2=%2711%27 y2=%2712%27/%3E%3Cline x1=%2721%27 y1=%276%27 x2=%2711%27 y2=%276%27/%3E%3Cline x1=%2721%27 y1=%2718%27 x2=%2711%27 y2=%2718%27/%3E%3C/svg%3E") !important;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
/* Table */
|
|
973
|
+
.toastui-editor-toolbar-icons.table {
|
|
974
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%273%27 width=%2718%27 height=%2718%27 rx=%272%27 ry=%272%27/%3E%3Cline x1=%273%27 y1=%279%27 x2=%2721%27 y2=%279%27/%3E%3Cline x1=%273%27 y1=%2715%27 x2=%2721%27 y2=%2715%27/%3E%3Cline x1=%279%27 y1=%273%27 x2=%279%27 y2=%2721%27/%3E%3Cline x1=%2715%27 y1=%273%27 x2=%2715%27 y2=%2721%27/%3E%3C/svg%3E") !important;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/* Image */
|
|
978
|
+
.toastui-editor-toolbar-icons.image {
|
|
979
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%273%27 width=%2718%27 height=%2718%27 rx=%272%27 ry=%272%27/%3E%3Ccircle cx=%278.5%27 cy=%278.5%27 r=%271.5%27/%3E%3Cpolyline points=%2721 15 16 10 5 21%27/%3E%3C/svg%3E") !important;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
/* Link */
|
|
983
|
+
.toastui-editor-toolbar-icons.link {
|
|
984
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71%27/%3E%3Cpath d=%27M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71%27/%3E%3C/svg%3E") !important;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
/* Code */
|
|
988
|
+
.toastui-editor-toolbar-icons.code {
|
|
989
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%2716 18 22 12 16 6%27/%3E%3Cpolyline points=%278 6 2 12 8 18%27/%3E%3C/svg%3E") !important;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
/* Code Block */
|
|
993
|
+
.toastui-editor-toolbar-icons.codeblock {
|
|
994
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z%27/%3E%3Cpolyline points=%2714 2 14 8 20 8%27/%3E%3Cline x1=%2716%27 y1=%2713%27 x2=%278%27 y2=%2713%27/%3E%3Cline x1=%2716%27 y1=%2717%27 x2=%278%27 y2=%2717%27/%3E%3Cpolyline points=%2710 9 9 9 8 9%27/%3E%3C/svg%3E") !important;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
/* More */
|
|
998
|
+
.toastui-editor-toolbar-icons.more {
|
|
999
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%271%27/%3E%3Ccircle cx=%2719%27 cy=%2712%27 r=%271%27/%3E%3Ccircle cx=%275%27 cy=%2712%27 r=%271%27/%3E%3C/svg%3E") !important;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
/* Text Align Plugin (Light Mode) */
|
|
1003
|
+
|
|
1004
|
+
.toastui-editor-toolbar-icons.alignLeft {
|
|
1005
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%23333\" stroke-width=\"2\" stroke-linecap=\"round\"%3E%3Cline x1=\"3\" y1=\"6\" x2=\"21\" y2=\"6\" /%3E%3Cline x1=\"3\" y1=\"10\" x2=\"14\" y2=\"10\" /%3E%3Cline x1=\"3\" y1=\"14\" x2=\"21\" y2=\"14\" /%3E%3Cline x1=\"3\" y1=\"18\" x2=\"14\" y2=\"18\" /%3E%3C/svg%3E") !important;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
/* Text Color Plugin (Light Mode) - High Specificity Override */
|
|
1009
|
+
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-icons.color {
|
|
1010
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 3l-7 17h3l1.5-4h9l1.5 4h3L12 3z%27/%3E%3Cpath d=%27M10.4 14h3.2L12 9l-1.6 5z%27 fill=%27%23333%27 stroke=%27none%27/%3E%3Cline x1=%274%27 y1=%2722%27 x2=%2720%27 y2=%2722%27/%3E%3C/svg%3E") !important;
|
|
1011
|
+
background-size: 24px 24px !important;
|
|
1012
|
+
background-position: center center !important;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/* Code Block - Force Fix with High Specificity */
|
|
1016
|
+
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-icons.codeblock,
|
|
1017
|
+
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-icons.code-block {
|
|
1018
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z%27/%3E%3Cpolyline points=%2714 2 14 8 20 8%27/%3E%3Cline x1=%2716%27 y1=%2713%27 x2=%278%27 y2=%2713%27/%3E%3Cline x1=%2716%27 y1=%2717%27 x2=%278%27 y2=%2717%27/%3E%3Cpolyline points=%2710 9 9 9 8 9%27/%3E%3C/svg%3E") !important;
|
|
1019
|
+
text-indent: -9999px !important;
|
|
1020
|
+
/* Hide text 'CB' if present */
|
|
1021
|
+
color: transparent !important;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
.toastui-editor-toolbar-icons.alignCenter {
|
|
1025
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%23333\" stroke-width=\"2\" stroke-linecap=\"round\"%3E%3Cline x1=\"3\" y1=\"6\" x2=\"21\" y2=\"6\" /%3E%3Cline x1=\"7\" y1=\"10\" x2=\"17\" y2=\"10\" /%3E%3Cline x1=\"3\" y1=\"14\" x2=\"21\" y2=\"14\" /%3E%3Cline x1=\"7\" y1=\"18\" x2=\"17\" y2=\"18\" /%3E%3C/svg%3E") !important;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
.toastui-editor-toolbar-icons.alignRight {
|
|
1029
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%23333\" stroke-width=\"2\" stroke-linecap=\"round\"%3E%3Cline x1=\"3\" y1=\"6\" x2=\"21\" y2=\"6\" /%3E%3Cline x1=\"10\" y1=\"10\" x2=\"21\" y2=\"10\" /%3E%3Cline x1=\"3\" y1=\"14\" x2=\"21\" y2=\"14\" /%3E%3Cline x1=\"10\" y1=\"18\" x2=\"21\" y2=\"18\" /%3E%3C/svg%3E") !important;
|
|
1030
|
+
}
|
|
901
1031
|
.toastui-editor-contents .toastui-editor-md-preview-highlight {
|
|
902
1032
|
position: relative;
|
|
903
1033
|
z-index: 0;
|
package/dist/toastui-editor.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @licium/editor
|
|
3
|
-
* @version 3.2.
|
|
3
|
+
* @version 3.2.7 | Sat Jan 03 2026
|
|
4
4
|
* @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -352,7 +352,8 @@ img.ProseMirror-separator {
|
|
|
352
352
|
.toastui-editor-defaultUI-toolbar {
|
|
353
353
|
display: -ms-flexbox;
|
|
354
354
|
display: flex;
|
|
355
|
-
|
|
355
|
+
justify-content: space-between;
|
|
356
|
+
padding: 0 10px;
|
|
356
357
|
height: 45px;
|
|
357
358
|
background-color: #f7f9fc;
|
|
358
359
|
border-bottom: 1px solid #ebedf2;
|
|
@@ -369,7 +370,7 @@ img.ProseMirror-separator {
|
|
|
369
370
|
width: 1px;
|
|
370
371
|
height: 18px;
|
|
371
372
|
background-color: #e1e3e9;
|
|
372
|
-
margin: 14px
|
|
373
|
+
margin: 14px 0px;
|
|
373
374
|
}
|
|
374
375
|
|
|
375
376
|
.toastui-editor-toolbar-group {
|
|
@@ -384,7 +385,7 @@ img.ProseMirror-separator {
|
|
|
384
385
|
height: 32px;
|
|
385
386
|
padding: 0;
|
|
386
387
|
border-radius: 3px;
|
|
387
|
-
margin: 7px
|
|
388
|
+
margin: 7px 3px;
|
|
388
389
|
border: 1px solid #f7f9fc;
|
|
389
390
|
}
|
|
390
391
|
|
|
@@ -402,6 +403,7 @@ img.ProseMirror-separator {
|
|
|
402
403
|
line-height: 10px;
|
|
403
404
|
color: #81858f;
|
|
404
405
|
cursor: pointer;
|
|
406
|
+
align-self: center;
|
|
405
407
|
}
|
|
406
408
|
|
|
407
409
|
.toastui-editor-defaultUI-toolbar .scroll-sync::before {
|
|
@@ -950,6 +952,134 @@ only screen and (min-resolution: 2dppx) {
|
|
|
950
952
|
max-width: none;
|
|
951
953
|
}
|
|
952
954
|
}
|
|
955
|
+
|
|
956
|
+
/* FIX: Global Icon Replacement (Stroked SVGs for Light Mode) */
|
|
957
|
+
.toastui-editor-defaultUI-toolbar {
|
|
958
|
+
background-color: #fff;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
.toastui-editor-toolbar-icons {
|
|
962
|
+
background-image: none !important;
|
|
963
|
+
/* Kill sprite */
|
|
964
|
+
background-repeat: no-repeat !important;
|
|
965
|
+
background-position: center center !important;
|
|
966
|
+
background-size: 24px 24px !important;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
/* Heading (H) */
|
|
970
|
+
.toastui-editor-toolbar-icons.heading {
|
|
971
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27square%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 5v14M18 5v14M6 12h12%27/%3E%3C/svg%3E") !important;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
/* Bold (B) */
|
|
975
|
+
.toastui-editor-toolbar-icons.bold {
|
|
976
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z%27/%3E%3Cpath d=%27M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z%27/%3E%3C/svg%3E") !important;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
/* Italic (I) */
|
|
980
|
+
.toastui-editor-toolbar-icons.italic {
|
|
981
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cline x1=%2719%27 y1=%274%27 x2=%2710%27 y2=%274%27/%3Cline x1=%2714%27 y1=%2720%27 x2=%275%27 y2=%2720%27/%3Cline x1=%2715%27 y1=%274%27 x2=%279%27 y2=%2720%27/%3E%3C/svg%3E") !important;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
/* Strike (S) - Refined Geometric */
|
|
985
|
+
.toastui-editor-toolbar-icons.strike {
|
|
986
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M15 6c0-2.5-2-3.5-5-3.5s-5 1.5-5 4c0 2.5 3 3.5 5 4.5c2 1 5 2 5 4.5c0 3-2.5 4-5 4c-3 0-5-1.5-5.5-4%27/%3E%3Cpath d=%27M4 12h16%27/%3E%3C/svg%3E") !important;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
/* HR Line */
|
|
990
|
+
.toastui-editor-toolbar-icons.hrline {
|
|
991
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cline x1=%274%27 y1=%2712%27 x2=%2720%27 y2=%2712%27/%3E%3C/svg%3E") !important;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
/* Quote */
|
|
995
|
+
.toastui-editor-toolbar-icons.quote {
|
|
996
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M10 11h-4a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v6c0 2.667-1.333 4.333-4 5%27/%3E%3Cpath d=%27M19 11h-4a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v6c0 2.667-1.333 4.333-4 5%27/%3E%3C/svg%3E") !important;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/* Bullet List */
|
|
1000
|
+
.toastui-editor-toolbar-icons.bullet-list {
|
|
1001
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cline x1=%279%27 y1=%276%27 x2=%2720%27 y2=%276%27/%3Cline x1=%279%27 y1=%2712%27 x2=%2720%27 y2=%2712%27/%3Cline x1=%279%27 y1=%2718%27 x2=%2720%27 y2=%2718%27/%3E%3Ccircle cx=%275%27 cy=%276%27 r=%271%27 fill=%27%23333%27 stroke=%27none%27/%3E%3Ccircle cx=%275%27 cy=%2712%27 r=%271%27 fill=%27%23333%27 stroke=%27none%27/%3E%3Ccircle cx=%275%27 cy=%2718%27 r=%271%27 fill=%27%23333%27 stroke=%27none%27/%3E%3C/svg%3E") !important;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
/* Ordered List - Refined */
|
|
1005
|
+
.toastui-editor-toolbar-icons.ordered-list {
|
|
1006
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M10 6h11M10 12h11M10 18h11M4 8l2-3v14%27/%3E%3C/svg%3E") !important;
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
/* Task List */
|
|
1010
|
+
.toastui-editor-toolbar-icons.task-list {
|
|
1011
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%275%27 width=%2718%27 height=%2714%27 rx=%272%27 ry=%272%27/%3E%3Cpolyline points=%279 11 11 13 15 9%27/%3E%3C/svg%3E") !important;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
/* Indent */
|
|
1015
|
+
.toastui-editor-toolbar-icons.indent {
|
|
1016
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%273 8 7 12 3 16%27/%3E%3Cline x1=%2721%27 y1=%2712%27 x2=%2711%27 y2=%2712%27/%3E%3Cline x1=%2721%27 y1=%276%27 x2=%2711%27 y2=%276%27/%3E%3Cline x1=%2721%27 y1=%2718%27 x2=%2711%27 y2=%2718%27/%3E%3C/svg%3E") !important;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
/* Outdent */
|
|
1020
|
+
.toastui-editor-toolbar-icons.outdent {
|
|
1021
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%277 8 3 12 7 16%27/%3E%3Cline x1=%2721%27 y1=%2712%27 x2=%2711%27 y2=%2712%27/%3E%3Cline x1=%2721%27 y1=%276%27 x2=%2711%27 y2=%276%27/%3E%3Cline x1=%2721%27 y1=%2718%27 x2=%2711%27 y2=%2718%27/%3E%3C/svg%3E") !important;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
/* Table */
|
|
1025
|
+
.toastui-editor-toolbar-icons.table {
|
|
1026
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%273%27 width=%2718%27 height=%2718%27 rx=%272%27 ry=%272%27/%3E%3Cline x1=%273%27 y1=%279%27 x2=%2721%27 y2=%279%27/%3E%3Cline x1=%273%27 y1=%2715%27 x2=%2721%27 y2=%2715%27/%3E%3Cline x1=%279%27 y1=%273%27 x2=%279%27 y2=%2721%27/%3E%3Cline x1=%2715%27 y1=%273%27 x2=%2715%27 y2=%2721%27/%3E%3C/svg%3E") !important;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
/* Image */
|
|
1030
|
+
.toastui-editor-toolbar-icons.image {
|
|
1031
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%273%27 width=%2718%27 height=%2718%27 rx=%272%27 ry=%272%27/%3E%3Ccircle cx=%278.5%27 cy=%278.5%27 r=%271.5%27/%3E%3Cpolyline points=%2721 15 16 10 5 21%27/%3E%3C/svg%3E") !important;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
/* Link */
|
|
1035
|
+
.toastui-editor-toolbar-icons.link {
|
|
1036
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71%27/%3E%3Cpath d=%27M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71%27/%3E%3C/svg%3E") !important;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
/* Code */
|
|
1040
|
+
.toastui-editor-toolbar-icons.code {
|
|
1041
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%2716 18 22 12 16 6%27/%3E%3Cpolyline points=%278 6 2 12 8 18%27/%3E%3C/svg%3E") !important;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
/* Code Block */
|
|
1045
|
+
.toastui-editor-toolbar-icons.codeblock {
|
|
1046
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z%27/%3E%3Cpolyline points=%2714 2 14 8 20 8%27/%3E%3Cline x1=%2716%27 y1=%2713%27 x2=%278%27 y2=%2713%27/%3E%3Cline x1=%2716%27 y1=%2717%27 x2=%278%27 y2=%2717%27/%3E%3Cpolyline points=%2710 9 9 9 8 9%27/%3E%3C/svg%3E") !important;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/* More */
|
|
1050
|
+
.toastui-editor-toolbar-icons.more {
|
|
1051
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%271%27/%3E%3Ccircle cx=%2719%27 cy=%2712%27 r=%271%27/%3E%3Ccircle cx=%275%27 cy=%2712%27 r=%271%27/%3E%3C/svg%3E") !important;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
/* Text Align Plugin (Light Mode) */
|
|
1055
|
+
|
|
1056
|
+
.toastui-editor-toolbar-icons.alignLeft {
|
|
1057
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%23333\" stroke-width=\"2\" stroke-linecap=\"round\"%3E%3Cline x1=\"3\" y1=\"6\" x2=\"21\" y2=\"6\" /%3E%3Cline x1=\"3\" y1=\"10\" x2=\"14\" y2=\"10\" /%3E%3Cline x1=\"3\" y1=\"14\" x2=\"21\" y2=\"14\" /%3E%3Cline x1=\"3\" y1=\"18\" x2=\"14\" y2=\"18\" /%3E%3C/svg%3E") !important;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
/* Text Color Plugin (Light Mode) - High Specificity Override */
|
|
1061
|
+
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-icons.color {
|
|
1062
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 3l-7 17h3l1.5-4h9l1.5 4h3L12 3z%27/%3E%3Cpath d=%27M10.4 14h3.2L12 9l-1.6 5z%27 fill=%27%23333%27 stroke=%27none%27/%3E%3Cline x1=%274%27 y1=%2722%27 x2=%2720%27 y2=%2722%27/%3E%3C/svg%3E") !important;
|
|
1063
|
+
background-size: 24px 24px !important;
|
|
1064
|
+
background-position: center center !important;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
/* Code Block - Force Fix with High Specificity */
|
|
1068
|
+
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-icons.codeblock,
|
|
1069
|
+
.toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-icons.code-block {
|
|
1070
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z%27/%3E%3Cpolyline points=%2714 2 14 8 20 8%27/%3E%3Cline x1=%2716%27 y1=%2713%27 x2=%278%27 y2=%2713%27/%3E%3Cline x1=%2716%27 y1=%2717%27 x2=%278%27 y2=%2717%27/%3E%3Cpolyline points=%2710 9 9 9 8 9%27/%3E%3C/svg%3E") !important;
|
|
1071
|
+
text-indent: -9999px !important;
|
|
1072
|
+
/* Hide text 'CB' if present */
|
|
1073
|
+
color: transparent !important;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
.toastui-editor-toolbar-icons.alignCenter {
|
|
1077
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%23333\" stroke-width=\"2\" stroke-linecap=\"round\"%3E%3Cline x1=\"3\" y1=\"6\" x2=\"21\" y2=\"6\" /%3E%3Cline x1=\"7\" y1=\"10\" x2=\"17\" y2=\"10\" /%3E%3Cline x1=\"3\" y1=\"14\" x2=\"21\" y2=\"14\" /%3E%3Cline x1=\"7\" y1=\"18\" x2=\"17\" y2=\"18\" /%3E%3C/svg%3E") !important;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
.toastui-editor-toolbar-icons.alignRight {
|
|
1081
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%23333\" stroke-width=\"2\" stroke-linecap=\"round\"%3E%3Cline x1=\"3\" y1=\"6\" x2=\"21\" y2=\"6\" /%3E%3Cline x1=\"10\" y1=\"10\" x2=\"21\" y2=\"10\" /%3E%3Cline x1=\"3\" y1=\"14\" x2=\"21\" y2=\"14\" /%3E%3Cline x1=\"10\" y1=\"18\" x2=\"21\" y2=\"18\" /%3E%3C/svg%3E") !important;
|
|
1082
|
+
}
|
|
953
1083
|
/*
|
|
954
1084
|
z-index basis
|
|
955
1085
|
-1: pseudo element
|
package/dist/toastui-editor.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@licium/editor",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.8",
|
|
4
4
|
"description": "GFM Markdown Wysiwyg Editor - Productive and Extensible",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nhn",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"prosemirror-state": "^1.3.4",
|
|
92
92
|
"prosemirror-view": "^1.18.7"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "57d08debec21e2e17c9e6f98bb9c379c597b684a"
|
|
95
95
|
}
|
package/types/index.d.ts
CHANGED