@licium/editor 3.2.3 → 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/LICENSE +21 -0
- package/README.md +16 -13
- 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 +11 -6
- 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 +106 -13
- package/dist/toastui-editor-only.css +1 -1
- package/dist/toastui-editor-viewer.css +1 -1
- package/dist/toastui-editor-viewer.js +7 -3
- package/dist/toastui-editor.css +1 -1
- package/dist/toastui-editor.js +7 -3
- package/package.json +4 -4
- package/types/index.d.ts +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 NHN Cloud Corp.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
> This is a fork of the [Toast UI Editor](https://github.com/natorus87/tui.editor) maintained by `@licium`.
|
|
2
|
+
> Original repository: https://github.com/natorus87/tui.editor
|
|
3
|
+
|
|
1
4
|
# 
|
|
2
5
|
|
|
3
|
-
[](https://www.npmjs.com/package/@licium/editor)
|
|
4
7
|
|
|
5
8
|
## 🚩 Table of Contents
|
|
6
9
|
|
|
@@ -27,13 +30,13 @@ const editor = new Editor(options);
|
|
|
27
30
|
|
|
28
31
|
## 📙 Documents
|
|
29
32
|
|
|
30
|
-
- [Getting Started](https://github.com/
|
|
33
|
+
- [Getting Started](https://github.com/natorus87/tui.editor/blob/master/docs/en/getting-started.md)
|
|
31
34
|
- [APIs](https://nhn.github.io/tui.editor/latest/)
|
|
32
35
|
- v3.0 Migration Guide
|
|
33
|
-
- [English](https://github.com/
|
|
34
|
-
- [한국어](https://github.com/
|
|
36
|
+
- [English](https://github.com/natorus87/tui.editor/blob/master/docs/v3.0-migration-guide.md)
|
|
37
|
+
- [한국어](https://github.com/natorus87/tui.editor/blob/master/docs/v3.0-migration-guide-ko.md)
|
|
35
38
|
|
|
36
|
-
You can also see the older versions of API page on the [releases page](https://github.com/
|
|
39
|
+
You can also see the older versions of API page on the [releases page](https://github.com/natorus87/tui.editor/releases).
|
|
37
40
|
|
|
38
41
|
## 💾 Install
|
|
39
42
|
|
|
@@ -46,8 +49,8 @@ TOAST UI products are registered in two package managers, [npm](https://www.npmj
|
|
|
46
49
|
#### npm
|
|
47
50
|
|
|
48
51
|
```sh
|
|
49
|
-
$ npm install --save @
|
|
50
|
-
$ npm install --save @
|
|
52
|
+
$ npm install --save @licium/editor # Latest Version
|
|
53
|
+
$ npm install --save @licium/editor@<version> # Specific Version
|
|
51
54
|
```
|
|
52
55
|
|
|
53
56
|
### Via Contents Delivery Network (CDN)
|
|
@@ -111,13 +114,13 @@ The editor can be used by creating an instance with the constructor function. To
|
|
|
111
114
|
- ES6 Modules
|
|
112
115
|
|
|
113
116
|
```javascript
|
|
114
|
-
import Editor from '@
|
|
117
|
+
import Editor from '@licium/editor';
|
|
115
118
|
```
|
|
116
119
|
|
|
117
120
|
- CommonJS
|
|
118
121
|
|
|
119
122
|
```javascript
|
|
120
|
-
const Editor = require('@
|
|
123
|
+
const Editor = require('@licium/editor');
|
|
121
124
|
```
|
|
122
125
|
|
|
123
126
|
### Using Namespace in Browser Environment
|
|
@@ -131,7 +134,7 @@ Then, you need to add the CSS files needed for the Editor. Import CSS files in n
|
|
|
131
134
|
### Using in Node Environment
|
|
132
135
|
|
|
133
136
|
```javascript
|
|
134
|
-
import '@
|
|
137
|
+
import '@licium/editor/dist/toastui-editor.css'; // Editor's Style
|
|
135
138
|
```
|
|
136
139
|
|
|
137
140
|
### Using in Browser Environment by CDN
|
|
@@ -171,6 +174,6 @@ Find out more options [here](https://nhn.github.io/tui.editor/latest/ToastUIEdit
|
|
|
171
174
|
|
|
172
175
|
## 🦄 Tutorials
|
|
173
176
|
|
|
174
|
-
- [Viewer](https://github.com/
|
|
175
|
-
- [Plugins](https://github.com/
|
|
176
|
-
- [Internationalization (i18n)](https://github.com/
|
|
177
|
+
- [Viewer](https://github.com/natorus87/tui.editor/blob/master/docs/en/viewer.md)
|
|
178
|
+
- [Plugins](https://github.com/natorus87/tui.editor/blob/master/docs/en/plugin.md)
|
|
179
|
+
- [Internationalization (i18n)](https://github.com/natorus87/tui.editor/blob/master/docs/en/i18n.md)
|
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
|
*/
|
|
@@ -2416,8 +2416,7 @@ function previewHighlight({ toastMark, eventEmitter }) {
|
|
|
2416
2416
|
});
|
|
2417
2417
|
let offset = 0;
|
|
2418
2418
|
if (mdNode.sourcepos) {
|
|
2419
|
-
const nodeStartLine = mdNode.sourcepos
|
|
2420
|
-
const nodeStartCh = mdNode.sourcepos[0][1];
|
|
2419
|
+
const [[nodeStartLine, nodeStartCh]] = mdNode.sourcepos;
|
|
2421
2420
|
if (line === nodeStartLine) {
|
|
2422
2421
|
offset = ch - nodeStartCh + 1;
|
|
2423
2422
|
}
|
|
@@ -4255,7 +4254,7 @@ function memorizeHandler(element, type, handler, wrappedHandler) {
|
|
|
4255
4254
|
|
|
4256
4255
|
var on_1 = on;
|
|
4257
4256
|
|
|
4258
|
-
|
|
4257
|
+
/******************************************************************************
|
|
4259
4258
|
Copyright (c) Microsoft Corporation.
|
|
4260
4259
|
|
|
4261
4260
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -4269,7 +4268,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
4269
4268
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
4270
4269
|
PERFORMANCE OF THIS SOFTWARE.
|
|
4271
4270
|
***************************************************************************** */
|
|
4272
|
-
/* global Reflect, Promise */
|
|
4271
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
4273
4272
|
|
|
4274
4273
|
var extendStatics = function(d, b) {
|
|
4275
4274
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -4305,7 +4304,12 @@ function __spreadArray(to, from, pack) {
|
|
|
4305
4304
|
}
|
|
4306
4305
|
}
|
|
4307
4306
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
4308
|
-
}
|
|
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
|
+
};
|
|
4309
4313
|
|
|
4310
4314
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4311
4315
|
|
|
@@ -19985,6 +19989,7 @@ const nodeTypeWriters = {
|
|
|
19985
19989
|
state.write(' \n');
|
|
19986
19990
|
},
|
|
19987
19991
|
// @ts-ignore
|
|
19992
|
+
// eslint-disable-next-line camelcase
|
|
19988
19993
|
hard_break(state) {
|
|
19989
19994
|
state.write(' \n');
|
|
19990
19995
|
},
|
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
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@charset "utf-8";
|
|
2
|
+
|
|
2
3
|
.toastui-editor-dark.toastui-editor-defaultUI {
|
|
3
4
|
border-color: #494c56;
|
|
4
5
|
color: #eee;
|
|
@@ -10,22 +11,22 @@
|
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
.toastui-editor-dark .toastui-editor-defaultUI-toolbar {
|
|
13
|
-
background-color: #232428;
|
|
14
|
+
background-color: var(--toastui-editor-toolbar-bg, #232428);
|
|
14
15
|
border-bottom-color: #303238;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
.toastui-editor-dark .toastui-editor-toolbar-icons {
|
|
18
19
|
background-position-y: -49px;
|
|
19
|
-
border-color:
|
|
20
|
+
border-color: transparent;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
.toastui-editor-dark .toastui-editor-toolbar-icons:not(:disabled):hover {
|
|
23
|
-
background-color:
|
|
24
|
-
border-color:
|
|
24
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
25
|
+
border-color: transparent;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
.toastui-editor-dark .toastui-editor-toolbar-divider {
|
|
28
|
-
background-color:
|
|
29
|
+
background-color: transparent;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
.toastui-editor-dark .toastui-editor-tooltip {
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
background-color: #2b4455;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
.toastui-editor-dark .toastui-editor-defaultUI-toolbar input:checked
|
|
52
|
+
.toastui-editor-dark .toastui-editor-defaultUI-toolbar input:checked+.switch {
|
|
52
53
|
background-color: #2b4455;
|
|
53
54
|
}
|
|
54
55
|
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
background-color: #8f939f;
|
|
57
58
|
}
|
|
58
59
|
|
|
59
|
-
.toastui-editor-dark .toastui-editor-defaultUI-toolbar input:checked
|
|
60
|
+
.toastui-editor-dark .toastui-editor-defaultUI-toolbar input:checked+.switch::before {
|
|
60
61
|
background-color: #67ccff;
|
|
61
62
|
}
|
|
62
63
|
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
|
|
84
85
|
.toastui-editor-dark .toastui-editor-popup,
|
|
85
86
|
.toastui-editor-dark .toastui-editor-context-menu {
|
|
86
|
-
background-color: #121212;
|
|
87
|
+
background-color: var(--toastui-editor-toolbar-bg, #121212);
|
|
87
88
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
88
89
|
border-color: #494c56;
|
|
89
90
|
}
|
|
@@ -216,8 +217,8 @@
|
|
|
216
217
|
}
|
|
217
218
|
|
|
218
219
|
.toastui-editor-dark .toastui-editor-dropdown-toolbar {
|
|
219
|
-
border-color:
|
|
220
|
-
background-color: #232428;
|
|
220
|
+
border-color: transparent;
|
|
221
|
+
background-color: var(--toastui-editor-toolbar-bg, #232428);
|
|
221
222
|
}
|
|
222
223
|
|
|
223
224
|
.toastui-editor-dark .ProseMirror,
|
|
@@ -351,7 +352,7 @@
|
|
|
351
352
|
color: #55575f;
|
|
352
353
|
}
|
|
353
354
|
|
|
354
|
-
.toastui-editor-dark .toastui-editor-contents ul
|
|
355
|
+
.toastui-editor-dark .toastui-editor-contents ul>li::before {
|
|
355
356
|
background-color: #55575f;
|
|
356
357
|
}
|
|
357
358
|
|
|
@@ -469,6 +470,98 @@
|
|
|
469
470
|
background-color: rgba(255, 250, 193, 0.25);
|
|
470
471
|
}
|
|
471
472
|
|
|
472
|
-
|
|
473
|
-
|
|
473
|
+
/* FIX: Replace broken "More" button icon (sprite bleeding) with clean SVG */
|
|
474
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.more {
|
|
475
|
+
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%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E") !important;
|
|
476
|
+
background-repeat: no-repeat !important;
|
|
477
|
+
background-position: center center !important;
|
|
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;
|
|
474
567
|
}
|
|
@@ -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
|
*/
|
|
@@ -2834,7 +2834,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2834
2834
|
});
|
|
2835
2835
|
|
|
2836
2836
|
;// CONCATENATED MODULE: ../../libs/toastmark/dist/esm/index.js
|
|
2837
|
-
|
|
2837
|
+
/******************************************************************************
|
|
2838
2838
|
Copyright (c) Microsoft Corporation.
|
|
2839
2839
|
|
|
2840
2840
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -2848,7 +2848,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
2848
2848
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
2849
2849
|
PERFORMANCE OF THIS SOFTWARE.
|
|
2850
2850
|
***************************************************************************** */
|
|
2851
|
-
/* global Reflect, Promise */
|
|
2851
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
2852
2852
|
var extendStatics = function (d, b) {
|
|
2853
2853
|
extendStatics = Object.setPrototypeOf ||
|
|
2854
2854
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2887,6 +2887,10 @@ function __spreadArray(to, from, pack) {
|
|
|
2887
2887
|
}
|
|
2888
2888
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
2889
2889
|
}
|
|
2890
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
2891
|
+
var e = new Error(message);
|
|
2892
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
2893
|
+
};
|
|
2890
2894
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g : typeof self !== 'undefined' ? self : {};
|
|
2891
2895
|
var encodeCache = {};
|
|
2892
2896
|
// Create a lookup array where anything but characters in `chars` string
|
package/dist/toastui-editor.css
CHANGED
package/dist/toastui-editor.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
|
*/
|
|
@@ -6695,7 +6695,7 @@ var off_default = /*#__PURE__*/__webpack_require__.n(off);
|
|
|
6695
6695
|
var on = __webpack_require__(348);
|
|
6696
6696
|
var on_default = /*#__PURE__*/__webpack_require__.n(on);
|
|
6697
6697
|
;// CONCATENATED MODULE: ../../libs/toastmark/dist/esm/index.js
|
|
6698
|
-
|
|
6698
|
+
/******************************************************************************
|
|
6699
6699
|
Copyright (c) Microsoft Corporation.
|
|
6700
6700
|
|
|
6701
6701
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -6709,7 +6709,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
6709
6709
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
6710
6710
|
PERFORMANCE OF THIS SOFTWARE.
|
|
6711
6711
|
***************************************************************************** */
|
|
6712
|
-
/* global Reflect, Promise */
|
|
6712
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
6713
6713
|
var extendStatics = function (d, b) {
|
|
6714
6714
|
extendStatics = Object.setPrototypeOf ||
|
|
6715
6715
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -6748,6 +6748,10 @@ function __spreadArray(to, from, pack) {
|
|
|
6748
6748
|
}
|
|
6749
6749
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
6750
6750
|
}
|
|
6751
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
6752
|
+
var e = new Error(message);
|
|
6753
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
6754
|
+
};
|
|
6751
6755
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g : typeof self !== 'undefined' ? self : {};
|
|
6752
6756
|
var encodeCache = {};
|
|
6753
6757
|
// Create a lookup array where anything but characters in `chars` string
|
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",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"license": "MIT",
|
|
53
53
|
"repository": {
|
|
54
54
|
"type": "git",
|
|
55
|
-
"url": "https://github.com/
|
|
55
|
+
"url": "https://github.com/natorus87/tui.editor.git",
|
|
56
56
|
"directory": "apps/editor"
|
|
57
57
|
},
|
|
58
58
|
"bugs": {
|
|
59
|
-
"url": "https://github.com/
|
|
59
|
+
"url": "https://github.com/natorus87/tui.editor/issues"
|
|
60
60
|
},
|
|
61
61
|
"homepage": "https://ui.toast.com",
|
|
62
62
|
"browserslist": "last 2 versions, not ie <= 10",
|
|
@@ -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