@licium/editor-plugin-text-align 1.0.2 → 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/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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* TOAST UI Editor : Text Align Plugin
|
|
3
|
-
* @version 1.0.
|
|
3
|
+
* @version 1.0.2 | Sat Jan 03 2026
|
|
4
4
|
* @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
|
|
5
5
|
*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/* ==========================================================================
|
|
41
|
-
Global Theme Fixes (Dark Mode Artifacts & Dynamic Backgrounds)
|
|
42
|
-
========================================================================== */
|
|
43
|
-
|
|
44
|
-
/* FIX: Override hardcoded toolbar backgrounds to respect CSS variable */
|
|
45
|
-
.toastui-editor-dark .toastui-editor-defaultUI-toolbar {
|
|
46
|
-
background-color: var(--editor-toolbar-bg, #232428) !important;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/* FIX: Ensure buttons don't have hardcoded borders/backgrounds that clash */
|
|
50
|
-
.toastui-editor-dark .toastui-editor-defaultUI-toolbar button {
|
|
51
|
-
background-color: transparent !important;
|
|
52
|
-
border-color: transparent !important;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/* FIX: Subtle hover state for buttons */
|
|
56
|
-
.toastui-editor-dark .toastui-editor-defaultUI-toolbar button:hover {
|
|
57
|
-
background-color: rgba(255, 255, 255, 0.1) !important;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/* FIX: Popup menus and groups should match the toolbar background */
|
|
61
|
-
.toastui-editor-dark .toastui-editor-toolbar-group {
|
|
62
|
-
background-color: var(--editor-toolbar-bg, #232428) !important;
|
|
63
|
-
border-color: transparent !important;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/* FIX: Dividers should be transparent to avoid white artifacts */
|
|
67
|
-
.toastui-editor-dark .toastui-editor-toolbar-divider {
|
|
68
|
-
background-color: transparent !important;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/* FIX: Remove invisible border from dropdown toolbar container */
|
|
72
|
-
.toastui-editor-dark .toastui-editor-dropdown-toolbar {
|
|
73
|
-
border: none !important;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/* FIX: Replace broken "More" button icon (sprite bleeding) with clean SVG */
|
|
77
|
-
.toastui-editor-dark .toastui-editor-toolbar-icons.more {
|
|
78
|
-
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=%27%23eee%27%3E%3Ccircle cx=%275%27 cy=%2712%27 r=%272%27/%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%272%27/%3E%3Ccircle cx=%2719%27 cy=%2712%27 r=%272%27/%3E%3C/svg%3E") !important;
|
|
79
|
-
background-repeat: no-repeat !important;
|
|
80
|
-
background-position: center center !important;
|
|
81
|
-
background-size: 24px 24px !important;
|
|
82
|
-
}
|
package/package.json
CHANGED
|
@@ -1,51 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
2
|
+
"name": "@licium/editor-plugin-text-align",
|
|
3
|
+
"version": "3.2.8",
|
|
4
|
+
"description": "TOAST UI Editor : Text Align Plugin",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"nhn",
|
|
7
|
+
"nhn cloud",
|
|
8
|
+
"toast",
|
|
9
|
+
"toastui",
|
|
10
|
+
"toast-ui",
|
|
11
|
+
"editor",
|
|
12
|
+
"plugin",
|
|
13
|
+
"text-align",
|
|
14
|
+
"align"
|
|
15
|
+
],
|
|
16
|
+
"main": "dist/toastui-editor-plugin-text-align.js",
|
|
17
|
+
"files": [
|
|
18
|
+
"dist/*.js",
|
|
19
|
+
"dist/*.css",
|
|
20
|
+
"types/index.d.ts"
|
|
21
|
+
],
|
|
22
|
+
"types": "types/index.d.ts",
|
|
23
|
+
"author": "NHN Cloud FE Development Lab <dl_javascript@nhn.com>",
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "https://github.com/natorus87/tui.editor.git",
|
|
28
|
+
"directory": "plugins/text-align"
|
|
29
|
+
},
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/natorus87/tui.editor/issues"
|
|
32
|
+
},
|
|
33
|
+
"homepage": "https://ui.toast.com",
|
|
34
|
+
"browserslist": "last 2 versions, not ie <= 10",
|
|
35
|
+
"scripts": {
|
|
36
|
+
"lint": "eslint .",
|
|
37
|
+
"test:types": "tsc",
|
|
38
|
+
"test": "jest --watch",
|
|
39
|
+
"test:ci": "jest",
|
|
40
|
+
"serve": "snowpack dev",
|
|
41
|
+
"serve:ie": "webpack serve",
|
|
42
|
+
"build:cdn": "webpack build --env cdn & webpack build --env cdn minify",
|
|
43
|
+
"build": "webpack build && npm run build:cdn"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"cross-env": "^6.0.3"
|
|
47
|
+
},
|
|
48
|
+
"publishConfig": {
|
|
49
|
+
"access": "public"
|
|
50
|
+
},
|
|
51
|
+
"gitHead": "57d08debec21e2e17c9e6f98bb9c379c597b684a"
|
|
52
|
+
}
|