@_sh/strapi-plugin-ckeditor 1.0.9 → 1.1.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.
- package/README.md +602 -106
- package/admin/src/components/CKEditor/build/ckeditor.js +2 -2
- package/admin/src/components/CKEditor/build/ckeditor.js.map +1 -1
- package/admin/src/components/CKEditor/build/translations/af.js +1 -1
- package/admin/src/components/CKEditor/build/translations/ar.js +1 -1
- package/admin/src/components/CKEditor/build/translations/ast.js +1 -1
- package/admin/src/components/CKEditor/build/translations/az.js +1 -1
- package/admin/src/components/CKEditor/build/translations/bg.js +1 -1
- package/admin/src/components/CKEditor/build/translations/bn.js +1 -0
- package/admin/src/components/CKEditor/build/translations/bs.js +1 -1
- package/admin/src/components/CKEditor/build/translations/ca.js +1 -1
- package/admin/src/components/CKEditor/build/translations/cs.js +1 -1
- package/admin/src/components/CKEditor/build/translations/da.js +1 -1
- package/admin/src/components/CKEditor/build/translations/de-ch.js +1 -1
- package/admin/src/components/CKEditor/build/translations/de.js +1 -1
- package/admin/src/components/CKEditor/build/translations/el.js +1 -1
- package/admin/src/components/CKEditor/build/translations/en-au.js +1 -1
- package/admin/src/components/CKEditor/build/translations/en-gb.js +1 -1
- package/admin/src/components/CKEditor/build/translations/eo.js +1 -1
- package/admin/src/components/CKEditor/build/translations/es.js +1 -1
- package/admin/src/components/CKEditor/build/translations/et.js +1 -1
- package/admin/src/components/CKEditor/build/translations/eu.js +1 -1
- package/admin/src/components/CKEditor/build/translations/fa.js +1 -1
- package/admin/src/components/CKEditor/build/translations/fi.js +1 -1
- package/admin/src/components/CKEditor/build/translations/fr.js +1 -1
- package/admin/src/components/CKEditor/build/translations/gl.js +1 -1
- package/admin/src/components/CKEditor/build/translations/gu.js +1 -1
- package/admin/src/components/CKEditor/build/translations/he.js +1 -1
- package/admin/src/components/CKEditor/build/translations/hi.js +1 -1
- package/admin/src/components/CKEditor/build/translations/hr.js +1 -1
- package/admin/src/components/CKEditor/build/translations/hu.js +1 -1
- package/admin/src/components/CKEditor/build/translations/id.js +1 -1
- package/admin/src/components/CKEditor/build/translations/it.js +1 -1
- package/admin/src/components/CKEditor/build/translations/ja.js +1 -1
- package/admin/src/components/CKEditor/build/translations/jv.js +1 -1
- package/admin/src/components/CKEditor/build/translations/km.js +1 -1
- package/admin/src/components/CKEditor/build/translations/kn.js +1 -1
- package/admin/src/components/CKEditor/build/translations/ko.js +1 -1
- package/admin/src/components/CKEditor/build/translations/ku.js +1 -1
- package/admin/src/components/CKEditor/build/translations/lt.js +1 -1
- package/admin/src/components/CKEditor/build/translations/lv.js +1 -1
- package/admin/src/components/CKEditor/build/translations/ms.js +1 -0
- package/admin/src/components/CKEditor/build/translations/nb.js +1 -1
- package/admin/src/components/CKEditor/build/translations/ne.js +1 -1
- package/admin/src/components/CKEditor/build/translations/nl.js +1 -1
- package/admin/src/components/CKEditor/build/translations/no.js +1 -1
- package/admin/src/components/CKEditor/build/translations/oc.js +1 -1
- package/admin/src/components/CKEditor/build/translations/pl.js +1 -1
- package/admin/src/components/CKEditor/build/translations/pt-br.js +1 -1
- package/admin/src/components/CKEditor/build/translations/pt.js +1 -1
- package/admin/src/components/CKEditor/build/translations/ro.js +1 -1
- package/admin/src/components/CKEditor/build/translations/ru.js +1 -1
- package/admin/src/components/CKEditor/build/translations/si.js +1 -1
- package/admin/src/components/CKEditor/build/translations/sk.js +1 -1
- package/admin/src/components/CKEditor/build/translations/sl.js +1 -1
- package/admin/src/components/CKEditor/build/translations/sq.js +1 -1
- package/admin/src/components/CKEditor/build/translations/sr-latn.js +1 -1
- package/admin/src/components/CKEditor/build/translations/sr.js +1 -1
- package/admin/src/components/CKEditor/build/translations/sv.js +1 -1
- package/admin/src/components/CKEditor/build/translations/th.js +1 -1
- package/admin/src/components/CKEditor/build/translations/tk.js +1 -1
- package/admin/src/components/CKEditor/build/translations/tr.js +1 -1
- package/admin/src/components/CKEditor/build/translations/tt.js +1 -1
- package/admin/src/components/CKEditor/build/translations/ug.js +1 -1
- package/admin/src/components/CKEditor/build/translations/uk.js +1 -1
- package/admin/src/components/CKEditor/build/translations/ur.js +1 -0
- package/admin/src/components/CKEditor/build/translations/uz.js +1 -1
- package/admin/src/components/CKEditor/build/translations/vi.js +1 -1
- package/admin/src/components/CKEditor/build/translations/zh-cn.js +1 -1
- package/admin/src/components/CKEditor/build/translations/zh.js +1 -1
- package/admin/src/components/CKEditor/index.js +165 -140
- package/admin/src/components/CKEditor/styles.js +12 -62
- package/admin/src/components/CKEditor/theme.js +313 -0
- package/package.json +3 -3
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
const theme = `
|
|
2
|
+
.ck.ck-editor__main .ck-blurred{
|
|
3
|
+
max-height: 200px;
|
|
4
|
+
}
|
|
5
|
+
.ck.ck-editor__main .ck-focused{
|
|
6
|
+
max-height: 900px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ck-word-count {
|
|
10
|
+
margin-top: 0.3rem;
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: end;
|
|
13
|
+
gap: 0.3rem;
|
|
14
|
+
font-size: 0.7rem;
|
|
15
|
+
font-weight: 500;
|
|
16
|
+
color: #B3B3C4;
|
|
17
|
+
text-transform: lowercase;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ck.ck-block-toolbar-button {
|
|
21
|
+
color:var(--ck-block-toolbar-button-color);
|
|
22
|
+
font-size:0.7rem;
|
|
23
|
+
background:none;
|
|
24
|
+
box-shadow: none !important;
|
|
25
|
+
border:none !important;
|
|
26
|
+
background:none !important;
|
|
27
|
+
outline: none !important;
|
|
28
|
+
:hover{
|
|
29
|
+
color:var(--ck-block-toolbar-button-hover-color);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{ top:64px }
|
|
34
|
+
.ck.ck-reset.ck-dropdown__panel.ck-dropdown__panel_sw.ck-dropdown__panel-visible{
|
|
35
|
+
border-radius:4px;
|
|
36
|
+
}
|
|
37
|
+
.ck.ck-editor__main .ck-focused, .ck-blurred{
|
|
38
|
+
overflow-y: auto;
|
|
39
|
+
overflow-x: hidden;
|
|
40
|
+
transition: max-height 0.5s ease-in-out;
|
|
41
|
+
::-webkit-scrollbar {
|
|
42
|
+
width: 7px;
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
::-webkit-scrollbar-track {
|
|
47
|
+
background: var(--ck-scroll-track-background);
|
|
48
|
+
border: none;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
::-webkit-scrollbar-thumb {
|
|
52
|
+
transition:background 2s;
|
|
53
|
+
background: var(--ck-scroll-thumb-background);
|
|
54
|
+
border: 1px solid var(--ck-scroll-thumb-border-color);
|
|
55
|
+
}
|
|
56
|
+
::-webkit-scrollbar-thumb:hover {
|
|
57
|
+
transition:background 2s;
|
|
58
|
+
background: var(--ck-scroll-thumb-hover-background);
|
|
59
|
+
}
|
|
60
|
+
::-webkit-scrollbar-thumb:active {
|
|
61
|
+
background: var(--ck-scroll-thumb-active-background);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
html[data-theme='light'] {
|
|
66
|
+
|
|
67
|
+
--ck-block-toolbar-button-color: #32324D;
|
|
68
|
+
--ck-block-toolbar-button-hover-color: #6b6b70;
|
|
69
|
+
|
|
70
|
+
--ck-scroll-track-background:rgb(242,242,242);
|
|
71
|
+
--ck-scroll-thumb-background:rgb(236,236,236);
|
|
72
|
+
--ck-scroll-thumb-border-color:#cdcdf8;
|
|
73
|
+
--ck-scroll-thumb-hover-background:#F0F0FF;
|
|
74
|
+
--ck-scroll-thumb-active-background:#D9D8FF;
|
|
75
|
+
|
|
76
|
+
--ck-color-editor-base-text:#1A1A1A;
|
|
77
|
+
/* Overrides the border radius setting in the theme. */
|
|
78
|
+
--ck-border-radius: 4px;
|
|
79
|
+
|
|
80
|
+
/* Helper variables to avoid duplication in the colors. */
|
|
81
|
+
--ck-color-base-border: #DCDCE4;
|
|
82
|
+
--ck-color-base-background:#ffffff;
|
|
83
|
+
--ck-custom-background: #ffffff;
|
|
84
|
+
--ck-custom-foreground: #dedede;
|
|
85
|
+
--ck-custom-border: #DCDCE4;
|
|
86
|
+
--ck-custom-white: hsl(0, 0%, 100%);
|
|
87
|
+
|
|
88
|
+
--ck-color-focus-outer-shadow:#F6F6F9;
|
|
89
|
+
|
|
90
|
+
--ck-color-base-focus: #bbbaf1;
|
|
91
|
+
--ck-color-base-active: #F0F0FF;
|
|
92
|
+
--ck-color-base-active-focus: #e2e2fd;
|
|
93
|
+
/* -- Overrides generic colors. ------------------------------------------------------------- */
|
|
94
|
+
|
|
95
|
+
--ck-color-base-foreground: var(--ck-custom-background);
|
|
96
|
+
--ck-color-focus-border: #bdc8fc;
|
|
97
|
+
--ck-color-text: #32324D;
|
|
98
|
+
/* --ck-color-text: hsl(240, 18%, 33%); */
|
|
99
|
+
--ck-color-shadow-drop: hsla(250, 31%, 80%, 0.1);
|
|
100
|
+
--ck-color-shadow-inner: hsla(250, 31%, 80%, 0.1);
|
|
101
|
+
|
|
102
|
+
/* -- Overrides the default .ck-button class colors. ---------------------------------------- */
|
|
103
|
+
|
|
104
|
+
--ck-color-button-default-background: var(--ck-custom-background);
|
|
105
|
+
--ck-color-button-default-hover-background: #F0F0FF;
|
|
106
|
+
--ck-color-button-default-active-background: #F6F6F9;
|
|
107
|
+
--ck-color-button-default-active-shadow: #dedefb;
|
|
108
|
+
--ck-color-button-default-disabled-background: var(--ck-custom-background);
|
|
109
|
+
|
|
110
|
+
--ck-color-button-on-background: #F6F6F9;
|
|
111
|
+
--ck-color-button-on-hover-background: #F0F0FF;
|
|
112
|
+
--ck-color-button-on-active-background: #F6F6F9;
|
|
113
|
+
--ck-color-button-on-active-shadow: #cdcdf8;
|
|
114
|
+
--ck-color-button-on-disabled-background: var(--ck-custom-foreground);
|
|
115
|
+
|
|
116
|
+
--ck-color-button-action-background: hsl(168, 76%, 42%);
|
|
117
|
+
--ck-color-button-action-hover-background: hsl(168, 76%, 38%);
|
|
118
|
+
--ck-color-button-action-active-background: hsl(168, 76%, 36%);
|
|
119
|
+
--ck-color-button-action-active-shadow: hsl(168, 75%, 34%);
|
|
120
|
+
--ck-color-button-action-disabled-background: hsl(168, 76%, 42%);
|
|
121
|
+
--ck-color-button-action-text: var(--ck-custom-white);
|
|
122
|
+
|
|
123
|
+
--ck-color-button-save: hsl(120, 100%, 46%);
|
|
124
|
+
--ck-color-button-cancel: hsl(15, 100%, 56%);
|
|
125
|
+
|
|
126
|
+
/* -- Overrides the default .ck-dropdown class colors. -------------------------------------- */
|
|
127
|
+
|
|
128
|
+
--ck-color-dropdown-panel-background: var(--ck-custom-background);
|
|
129
|
+
--ck-color-dropdown-panel-border: var(--ck-custom-foreground);
|
|
130
|
+
|
|
131
|
+
/* -- Overrides the default .ck-splitbutton class colors. ----------------------------------- */
|
|
132
|
+
|
|
133
|
+
--ck-color-split-button-hover-background: var(--ck-color-button-default-hover-background);
|
|
134
|
+
--ck-color-split-button-hover-border: var(--ck-custom-foreground);
|
|
135
|
+
|
|
136
|
+
/* -- Overrides the default .ck-input class colors. ----------------------------------------- */
|
|
137
|
+
|
|
138
|
+
--ck-color-input-background: var(--ck-custom-background);
|
|
139
|
+
--ck-color-input-border: hsl(257, 3%, 43%);
|
|
140
|
+
--ck-color-input-text: hsl(0, 0%, 98%);
|
|
141
|
+
--ck-color-input-disabled-background: hsl(0, 0%, 97%);
|
|
142
|
+
--ck-color-input-disabled-border: rgb(214, 214, 214);
|
|
143
|
+
--ck-color-input-disabled-text: hsl(0, 0%, 78%);
|
|
144
|
+
|
|
145
|
+
/* -- Overrides the default .ck-labeled-field-view class colors. ---------------------------- */
|
|
146
|
+
|
|
147
|
+
--ck-color-labeled-field-label-background: var(--ck-custom-background);
|
|
148
|
+
|
|
149
|
+
/* -- Overrides the default .ck-list class colors. ------------------------------------------ */
|
|
150
|
+
|
|
151
|
+
--ck-color-list-background: var(--ck-custom-background);
|
|
152
|
+
--ck-color-list-button-hover-background: #f4f4fb;
|
|
153
|
+
--ck-color-list-button-on-background: var(--ck-color-base-active);
|
|
154
|
+
--ck-color-list-button-on-background-focus: var(--ck-color-base-active-focus);
|
|
155
|
+
--ck-color-list-button-on-text: #271FE2;
|
|
156
|
+
|
|
157
|
+
/* -- Overrides the default .ck-balloon-panel class colors. --------------------------------- */
|
|
158
|
+
|
|
159
|
+
--ck-color-panel-background: var(--ck-custom-background);
|
|
160
|
+
--ck-color-panel-border: var(--ck-custom-border);
|
|
161
|
+
|
|
162
|
+
/* -- Overrides the default .ck-toolbar class colors. --------------------------------------- */
|
|
163
|
+
|
|
164
|
+
--ck-color-toolbar-background: var(--ck-custom-background);
|
|
165
|
+
--ck-color-toolbar-border: var(--ck-custom-border);
|
|
166
|
+
|
|
167
|
+
/* -- Overrides the default .ck-tooltip class colors. --------------------------------------- */
|
|
168
|
+
|
|
169
|
+
--ck-color-tooltip-background: #3a3955;
|
|
170
|
+
--ck-color-tooltip-text: hsl(0, 0%, 93%);
|
|
171
|
+
|
|
172
|
+
/* -- Overrides the default colors used by the ckeditor5-image package. --------------------- */
|
|
173
|
+
|
|
174
|
+
--ck-color-image-caption-background: hsl(0, 0%, 97%);
|
|
175
|
+
--ck-color-image-caption-text: hsl(0, 0%, 20%);
|
|
176
|
+
|
|
177
|
+
/* -- Overrides the default colors used by the ckeditor5-widget package. -------------------- */
|
|
178
|
+
|
|
179
|
+
--ck-color-widget-blurred-border: #cfcffa;
|
|
180
|
+
--ck-color-widget-hover-border: #c9c9e4;
|
|
181
|
+
--ck-color-widget-editable-focus-background: var(--ck-custom-white);
|
|
182
|
+
|
|
183
|
+
/* -- Overrides the default colors used by the ckeditor5-link package. ---------------------- */
|
|
184
|
+
|
|
185
|
+
--ck-color-link-default: hsl(209, 89%, 33%);
|
|
186
|
+
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
html[data-theme='dark'] {
|
|
190
|
+
|
|
191
|
+
--ck-block-toolbar-button-color: #ededed;
|
|
192
|
+
--ck-block-toolbar-button-hover-color: #cfcccc;
|
|
193
|
+
|
|
194
|
+
--ck-scroll-track-background:#3d3d57;
|
|
195
|
+
--ck-scroll-thumb-background:#181826;
|
|
196
|
+
--ck-scroll-thumb-border-color:rgb(70,70,70);
|
|
197
|
+
--ck-scroll-thumb-hover-background:#202033;
|
|
198
|
+
--ck-scroll-thumb-active-background:#2b2b45;
|
|
199
|
+
|
|
200
|
+
--ck-color-editor-base-text:rgb(236, 236, 236);
|
|
201
|
+
/* Overrides the border radius setting in the theme. */
|
|
202
|
+
--ck-border-radius: 4px;
|
|
203
|
+
|
|
204
|
+
/* Helper variables to avoid duplication in the colors. */
|
|
205
|
+
--ck-color-base-border: #4A4A6A;
|
|
206
|
+
/* --ck-color-base-background:#212134; */
|
|
207
|
+
/* --ck-color-base-background:#292943; */
|
|
208
|
+
--ck-color-base-background:#27273e;
|
|
209
|
+
--ck-custom-background: #181826;
|
|
210
|
+
--ck-custom-foreground: #26263b;
|
|
211
|
+
--ck-custom-border: #4A4A6A;
|
|
212
|
+
--ck-custom-white: hsl(0, 0%, 100%);
|
|
213
|
+
|
|
214
|
+
--ck-color-focus-outer-shadow:#212134;
|
|
215
|
+
|
|
216
|
+
--ck-color-base-focus: #bbbaf1;
|
|
217
|
+
--ck-color-base-active: #8280fc;
|
|
218
|
+
--ck-color-base-active-focus: #7B79FF;
|
|
219
|
+
/* -- Overrides generic colors. ------------------------------------------------------------- */
|
|
220
|
+
|
|
221
|
+
--ck-color-base-foreground: var(--ck-custom-background);
|
|
222
|
+
--ck-color-focus-border: #6765bd;
|
|
223
|
+
--ck-color-text: hsl(0, 0%, 93%);
|
|
224
|
+
--ck-color-shadow-drop: hsla(0, 0%, 0%, 0.2);
|
|
225
|
+
--ck-color-shadow-inner: hsla(0, 0%, 0%, 0.1);
|
|
226
|
+
|
|
227
|
+
/* -- Overrides the default .ck-button class colors. ---------------------------------------- */
|
|
228
|
+
|
|
229
|
+
--ck-color-button-default-background: var(--ck-custom-background);
|
|
230
|
+
--ck-color-button-default-hover-background: #262630;
|
|
231
|
+
--ck-color-button-default-active-background: #7B79FF;
|
|
232
|
+
--ck-color-button-default-active-shadow: #7B79FF;
|
|
233
|
+
--ck-color-button-default-disabled-background: var(--ck-custom-background);
|
|
234
|
+
|
|
235
|
+
--ck-color-button-on-background: #7776da;
|
|
236
|
+
--ck-color-button-on-hover-background: #7B79FF;
|
|
237
|
+
--ck-color-button-on-active-background: #8280fc;
|
|
238
|
+
--ck-color-button-on-active-shadow: #807ed3;
|
|
239
|
+
--ck-color-button-on-disabled-background: var(--ck-custom-foreground);
|
|
240
|
+
|
|
241
|
+
--ck-color-button-action-background: hsl(168, 76%, 42%);
|
|
242
|
+
--ck-color-button-action-hover-background: hsl(168, 76%, 38%);
|
|
243
|
+
--ck-color-button-action-active-background: hsl(168, 76%, 36%);
|
|
244
|
+
--ck-color-button-action-active-shadow: hsl(168, 75%, 34%);
|
|
245
|
+
--ck-color-button-action-disabled-background: hsl(168, 76%, 42%);
|
|
246
|
+
--ck-color-button-action-text: var(--ck-custom-white);
|
|
247
|
+
|
|
248
|
+
--ck-color-button-save: hsl(120, 100%, 46%);
|
|
249
|
+
--ck-color-button-cancel: hsl(15, 100%, 56%);
|
|
250
|
+
|
|
251
|
+
/* -- Overrides the default .ck-dropdown class colors. -------------------------------------- */
|
|
252
|
+
|
|
253
|
+
--ck-color-dropdown-panel-background: var(--ck-custom-background);
|
|
254
|
+
--ck-color-dropdown-panel-border: var(--ck-custom-foreground);
|
|
255
|
+
|
|
256
|
+
/* -- Overrides the default .ck-splitbutton class colors. ----------------------------------- */
|
|
257
|
+
|
|
258
|
+
--ck-color-split-button-hover-background: var(--ck-color-button-default-hover-background);
|
|
259
|
+
--ck-color-split-button-hover-border: var(--ck-custom-foreground);
|
|
260
|
+
|
|
261
|
+
/* -- Overrides the default .ck-input class colors. ----------------------------------------- */
|
|
262
|
+
|
|
263
|
+
--ck-color-input-background: var(--ck-custom-background);
|
|
264
|
+
--ck-color-input-border: hsl(257, 3%, 43%);
|
|
265
|
+
--ck-color-input-text: hsl(0, 0%, 98%);
|
|
266
|
+
--ck-color-input-disabled-background: hsl(255, 4%, 21%);
|
|
267
|
+
--ck-color-input-disabled-border: hsl(250, 3%, 38%);
|
|
268
|
+
--ck-color-input-disabled-text: hsl(0, 0%, 78%);
|
|
269
|
+
|
|
270
|
+
/* -- Overrides the default .ck-labeled-field-view class colors. ---------------------------- */
|
|
271
|
+
|
|
272
|
+
--ck-color-labeled-field-label-background: var(--ck-custom-background);
|
|
273
|
+
|
|
274
|
+
/* -- Overrides the default .ck-list class colors. ------------------------------------------ */
|
|
275
|
+
|
|
276
|
+
--ck-color-list-background: var(--ck-custom-background);
|
|
277
|
+
--ck-color-list-button-hover-background: #3d3d56;
|
|
278
|
+
--ck-color-list-button-on-background: var(--ck-color-base-active);
|
|
279
|
+
--ck-color-list-button-on-background-focus: var(--ck-color-base-active-focus);
|
|
280
|
+
--ck-color-list-button-on-text: #ffffff;
|
|
281
|
+
|
|
282
|
+
/* -- Overrides the default .ck-balloon-panel class colors. --------------------------------- */
|
|
283
|
+
|
|
284
|
+
--ck-color-panel-background: var(--ck-custom-background);
|
|
285
|
+
--ck-color-panel-border: var(--ck-custom-border);
|
|
286
|
+
|
|
287
|
+
/* -- Overrides the default .ck-toolbar class colors. --------------------------------------- */
|
|
288
|
+
|
|
289
|
+
--ck-color-toolbar-background: var(--ck-custom-background);
|
|
290
|
+
--ck-color-toolbar-border: var(--ck-custom-border);
|
|
291
|
+
|
|
292
|
+
/* -- Overrides the default .ck-tooltip class colors. --------------------------------------- */
|
|
293
|
+
|
|
294
|
+
--ck-color-tooltip-background: #3a3955;
|
|
295
|
+
--ck-color-tooltip-text: hsl(0, 0%, 93%);
|
|
296
|
+
|
|
297
|
+
/* -- Overrides the default colors used by the ckeditor5-image package. --------------------- */
|
|
298
|
+
|
|
299
|
+
--ck-color-image-caption-background: hsl(0, 0%, 97%);
|
|
300
|
+
--ck-color-image-caption-text: hsl(0, 0%, 20%);
|
|
301
|
+
|
|
302
|
+
/* -- Overrides the default colors used by the ckeditor5-widget package. -------------------- */
|
|
303
|
+
|
|
304
|
+
--ck-color-widget-blurred-border: #7c7c96;
|
|
305
|
+
--ck-color-widget-hover-border: #666687;
|
|
306
|
+
--ck-color-widget-editable-focus-background: var(--ck-custom-white);
|
|
307
|
+
|
|
308
|
+
/* -- Overrides the default colors used by the ckeditor5-link package. ---------------------- */
|
|
309
|
+
|
|
310
|
+
--ck-color-link-default: hsl(216, 100%, 75%);
|
|
311
|
+
}
|
|
312
|
+
`;
|
|
313
|
+
export default theme
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_sh/strapi-plugin-ckeditor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Replaces the default Strapi WYSIWYG editor with a customized buil of CKEditor 5 packed with useful plugins.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"keywords": [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"strapi-server.js"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@ckeditor/ckeditor5-react": "5.0.
|
|
29
|
+
"@ckeditor/ckeditor5-react": "5.0.2"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@strapi/strapi": "^4.0.0"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"test": "echo \"Error: no tests specified\" && exit 1"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
|
-
"node": ">=
|
|
46
|
+
"node": ">=14.x.x <=16.x.x",
|
|
47
47
|
"npm": ">=6.0.0"
|
|
48
48
|
},
|
|
49
49
|
"license": "MIT"
|