@licium/editor 3.2.4 → 3.2.5
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 +9 -4
- package/dist/esm/indexViewer.js +9 -4
- 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 +88 -0
- package/dist/toastui-editor-only.css +1 -1
- package/dist/toastui-editor-viewer.css +1 -1
- package/dist/toastui-editor-viewer.js +1 -1
- package/dist/toastui-editor.css +1 -1
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @licium/editor
|
|
3
|
-
* @version 3.2.
|
|
3
|
+
* @version 3.2.4 | Sat Jan 03 2026
|
|
4
4
|
* @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -4254,7 +4254,7 @@ function memorizeHandler(element, type, handler, wrappedHandler) {
|
|
|
4254
4254
|
|
|
4255
4255
|
var on_1 = on;
|
|
4256
4256
|
|
|
4257
|
-
|
|
4257
|
+
/******************************************************************************
|
|
4258
4258
|
Copyright (c) Microsoft Corporation.
|
|
4259
4259
|
|
|
4260
4260
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -4268,7 +4268,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
4268
4268
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
4269
4269
|
PERFORMANCE OF THIS SOFTWARE.
|
|
4270
4270
|
***************************************************************************** */
|
|
4271
|
-
/* global Reflect, Promise */
|
|
4271
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
4272
4272
|
|
|
4273
4273
|
var extendStatics = function(d, b) {
|
|
4274
4274
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -4304,7 +4304,12 @@ function __spreadArray(to, from, pack) {
|
|
|
4304
4304
|
}
|
|
4305
4305
|
}
|
|
4306
4306
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
4307
|
-
}
|
|
4307
|
+
}
|
|
4308
|
+
|
|
4309
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
4310
|
+
var e = new Error(message);
|
|
4311
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
4312
|
+
};
|
|
4308
4313
|
|
|
4309
4314
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4310
4315
|
|
package/dist/esm/indexViewer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @licium/editor : viewer
|
|
3
|
-
* @version 3.2.
|
|
3
|
+
* @version 3.2.4 | Sat Jan 03 2026
|
|
4
4
|
* @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -11,7 +11,7 @@ import { Decoration, DecorationSet } from 'prosemirror-view';
|
|
|
11
11
|
import { keymap } from 'prosemirror-keymap';
|
|
12
12
|
import { Fragment } from 'prosemirror-model';
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
/******************************************************************************
|
|
15
15
|
Copyright (c) Microsoft Corporation.
|
|
16
16
|
|
|
17
17
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -25,7 +25,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
25
25
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
26
|
PERFORMANCE OF THIS SOFTWARE.
|
|
27
27
|
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise */
|
|
28
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
29
29
|
|
|
30
30
|
var extendStatics = function(d, b) {
|
|
31
31
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -61,7 +61,12 @@ function __spreadArray(to, from, pack) {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
64
|
-
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
67
|
+
var e = new Error(message);
|
|
68
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
69
|
+
};
|
|
65
70
|
|
|
66
71
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
67
72
|
|
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
|
@@ -476,4 +476,92 @@
|
|
|
476
476
|
background-repeat: no-repeat !important;
|
|
477
477
|
background-position: center center !important;
|
|
478
478
|
background-size: 24px 24px !important;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/* FIX: Replace ALL other icons with SVGs to prevent sprite bleeding in dark mode */
|
|
482
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons {
|
|
483
|
+
background-repeat: no-repeat !important;
|
|
484
|
+
background-position: center center !important;
|
|
485
|
+
background-size: 20px 20px !important;
|
|
486
|
+
/* Slightly smaller for icons like B/I/U */
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/* Heading (H) */
|
|
490
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.heading {
|
|
491
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eee'%3E%3Cpath d='M5 4v3h5.5v10H5v3h14v-3h-5.5V7H19V4z'/%3E%3C/svg%3E") !important;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/* Bold (B) */
|
|
495
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.bold {
|
|
496
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eee'%3E%3Cpath d='M15.6 11.8c1-.7 1.6-1.8 1.6-2.8a4 4 0 0 0-4-4H7v14h7c2.1 0 3.8-1.7 3.8-3.8 0-1.3-.6-2.6-2.2-3.4zM10 7.5h3c1.2 0 2 .8 2 1.8s-.8 1.8-2 1.8h-3v-3.6zm3.3 9h-3.3v-3.6h3.3c1.2 0 2 .8 2 1.8s-.8 1.8-2 1.8z'/%3E%3C/svg%3E") !important;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/* Italic (I) */
|
|
500
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.italic {
|
|
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='%23eee'%3E%3Cpath d='M10 4v3h2.2l-3.4 10H6v3h8v-3h-2.2l3.4-10H18V4z'/%3E%3C/svg%3E") !important;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/* Strike (S) */
|
|
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='%23eee'%3E%3Cpath d='M10 19h4v-3h-4v3zM5 4v3h5v3h4V7h5V4H5zM3 14h18v-2H3v2z'/%3E%3C/svg%3E") !important;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/* HR Line */
|
|
510
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.hrline {
|
|
511
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eee'%3E%3Cpath d='M2 11h20v2H2z'/%3E%3C/svg%3E") !important;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/* Quote */
|
|
515
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.quote {
|
|
516
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eee'%3E%3Cpath d='M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z'/%3E%3C/svg%3E") !important;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
/* Bullet List */
|
|
520
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.bullet-list {
|
|
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='%23eee'%3E%3Cpath d='M4 10.5c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5 1.5-.7 1.5-1.5-.7-1.5-1.5-1.5zm0-6c-.8 0-1.5.7-1.5 1.5S3.2 7.5 4 7.5 5.5 6.8 5.5 6 4.8 4.5 4 4.5zm0 12c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5 1.5-.7 1.5-1.5-.7-1.5-1.5-1.5zM7 5v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z'/%3E%3C/svg%3E") !important;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/* Ordered List */
|
|
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='%23eee'%3E%3Cpath d='M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zM2 11h2v.5H2v1h1v-1.5h1v-1H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z'/%3E%3C/svg%3E") !important;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/* Task List */
|
|
530
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.task-list {
|
|
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='%23eee'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 14l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z'/%3E%3C/svg%3E") !important;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/* Indent */
|
|
535
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.indent {
|
|
536
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eee'%3E%3Cpath d='M3 21h18v-2H3v2zM3 8v8l4-4-4-4zm8 9h10v-2H11v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z'/%3E%3C/svg%3E") !important;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
/* Outdent */
|
|
540
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.outdent {
|
|
541
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eee'%3E%3Cpath d='M11 17h10v-2H11v2zm-8-5l4 4V8l-4 4zm0 9h18v-2H3v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z'/%3E%3C/svg%3E") !important;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/* Table */
|
|
545
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.table {
|
|
546
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eee'%3E%3Cpath d='M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h5v9H5v-9zm14 9h-5v-9h5v9z'/%3E%3C/svg%3E") !important;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
/* Image */
|
|
550
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.image {
|
|
551
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eee'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E") !important;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
/* Link */
|
|
555
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.link {
|
|
556
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eee'%3E%3Cpath d='M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z'/%3E%3C/svg%3E") !important;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
/* Code */
|
|
560
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.code {
|
|
561
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eee'%3E%3Cpath d='M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z'/%3E%3C/svg%3E") !important;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/* Code Block */
|
|
565
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.codeblock {
|
|
566
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eee'%3E%3Cpath d='M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H4V5h16v14zm-6-5h4v-2h-4v2zm-6 0h4v-2H8v2z'/%3E%3C/svg%3E") !important;
|
|
479
567
|
}
|
package/dist/toastui-editor.css
CHANGED
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.5",
|
|
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": "99372e785bf25153af30befd49b60ea4adb48e2b"
|
|
95
95
|
}
|
package/types/index.d.ts
CHANGED