@_sh/strapi-plugin-ckeditor 1.1.3 → 2.0.0
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 +353 -897
- package/admin/src/components/CKEditorIcon.js +46 -0
- package/admin/src/components/Input/CKEditor/configs/base.js +628 -0
- package/admin/src/components/Input/CKEditor/configs/blockBaloon.js +25 -0
- package/admin/src/components/Input/CKEditor/configs/index.js +11 -0
- package/admin/src/components/Input/CKEditor/configs/toolbar.js +17 -0
- package/admin/src/components/Input/CKEditor/configs/toolbarBaloon.js +17 -0
- package/admin/src/components/Input/CKEditor/configuration.js +166 -0
- package/admin/src/components/Input/CKEditor/index.js +120 -0
- package/admin/src/components/Input/CKEditor/plugins/StrapiMediaLib.js +43 -0
- package/admin/src/components/Input/CKEditor/plugins/StrapiUploadAdapter.js +203 -0
- package/admin/src/components/Input/CKEditor/plugins/index.js +2 -0
- package/admin/src/components/Input/CKEditor/styling.js +16 -0
- package/admin/src/components/Input/CKEditor/theme/additional.js +167 -0
- package/admin/src/components/Input/CKEditor/theme/common.js +277 -0
- package/admin/src/components/Input/CKEditor/theme/dark.js +144 -0
- package/admin/src/components/Input/CKEditor/theme/index.js +13 -0
- package/admin/src/components/Input/CKEditor/theme/light.js +135 -0
- package/admin/src/components/Input/MediaLib/index.js +79 -0
- package/admin/src/components/Input/index.js +48 -0
- package/admin/src/index.js +107 -15
- package/admin/src/utils/getEditorConfig.js +37 -0
- package/admin/src/utils/pluginId.js +5 -0
- package/package.json +43 -7
- package/server/controllers/config.js +8 -12
- package/server/index.js +1 -1
- package/server/register.js +7 -1
- package/server/routes/index.js +5 -6
- package/server/services/config.js +5 -12
- package/admin/src/components/CKEditor/build/ckeditor.js +0 -7
- package/admin/src/components/CKEditor/build/ckeditor.js.map +0 -1
- package/admin/src/components/CKEditor/build/translations/af.js +0 -1
- package/admin/src/components/CKEditor/build/translations/ar.js +0 -1
- package/admin/src/components/CKEditor/build/translations/ast.js +0 -1
- package/admin/src/components/CKEditor/build/translations/az.js +0 -1
- package/admin/src/components/CKEditor/build/translations/bg.js +0 -1
- package/admin/src/components/CKEditor/build/translations/bn.js +0 -1
- package/admin/src/components/CKEditor/build/translations/bs.js +0 -1
- package/admin/src/components/CKEditor/build/translations/ca.js +0 -1
- package/admin/src/components/CKEditor/build/translations/cs.js +0 -1
- package/admin/src/components/CKEditor/build/translations/da.js +0 -1
- package/admin/src/components/CKEditor/build/translations/de-ch.js +0 -1
- package/admin/src/components/CKEditor/build/translations/de.js +0 -1
- package/admin/src/components/CKEditor/build/translations/el.js +0 -1
- package/admin/src/components/CKEditor/build/translations/en-au.js +0 -1
- package/admin/src/components/CKEditor/build/translations/en-gb.js +0 -1
- package/admin/src/components/CKEditor/build/translations/eo.js +0 -1
- package/admin/src/components/CKEditor/build/translations/es.js +0 -1
- package/admin/src/components/CKEditor/build/translations/et.js +0 -1
- package/admin/src/components/CKEditor/build/translations/eu.js +0 -1
- package/admin/src/components/CKEditor/build/translations/fa.js +0 -1
- package/admin/src/components/CKEditor/build/translations/fi.js +0 -1
- package/admin/src/components/CKEditor/build/translations/fr.js +0 -1
- package/admin/src/components/CKEditor/build/translations/gl.js +0 -1
- package/admin/src/components/CKEditor/build/translations/gu.js +0 -1
- package/admin/src/components/CKEditor/build/translations/he.js +0 -1
- package/admin/src/components/CKEditor/build/translations/hi.js +0 -1
- package/admin/src/components/CKEditor/build/translations/hr.js +0 -1
- package/admin/src/components/CKEditor/build/translations/hu.js +0 -1
- package/admin/src/components/CKEditor/build/translations/id.js +0 -1
- package/admin/src/components/CKEditor/build/translations/it.js +0 -1
- package/admin/src/components/CKEditor/build/translations/ja.js +0 -1
- package/admin/src/components/CKEditor/build/translations/jv.js +0 -1
- package/admin/src/components/CKEditor/build/translations/kk.js +0 -1
- package/admin/src/components/CKEditor/build/translations/km.js +0 -1
- package/admin/src/components/CKEditor/build/translations/kn.js +0 -1
- package/admin/src/components/CKEditor/build/translations/ko.js +0 -1
- package/admin/src/components/CKEditor/build/translations/ku.js +0 -1
- package/admin/src/components/CKEditor/build/translations/lt.js +0 -1
- package/admin/src/components/CKEditor/build/translations/lv.js +0 -1
- package/admin/src/components/CKEditor/build/translations/ms.js +0 -1
- package/admin/src/components/CKEditor/build/translations/nb.js +0 -1
- package/admin/src/components/CKEditor/build/translations/ne.js +0 -1
- package/admin/src/components/CKEditor/build/translations/nl.js +0 -1
- package/admin/src/components/CKEditor/build/translations/no.js +0 -1
- package/admin/src/components/CKEditor/build/translations/oc.js +0 -1
- package/admin/src/components/CKEditor/build/translations/pl.js +0 -1
- package/admin/src/components/CKEditor/build/translations/pt-br.js +0 -1
- package/admin/src/components/CKEditor/build/translations/pt.js +0 -1
- package/admin/src/components/CKEditor/build/translations/ro.js +0 -1
- package/admin/src/components/CKEditor/build/translations/ru.js +0 -1
- package/admin/src/components/CKEditor/build/translations/si.js +0 -1
- package/admin/src/components/CKEditor/build/translations/sk.js +0 -1
- package/admin/src/components/CKEditor/build/translations/sl.js +0 -1
- package/admin/src/components/CKEditor/build/translations/sq.js +0 -1
- package/admin/src/components/CKEditor/build/translations/sr-latn.js +0 -1
- package/admin/src/components/CKEditor/build/translations/sr.js +0 -1
- package/admin/src/components/CKEditor/build/translations/sv.js +0 -1
- package/admin/src/components/CKEditor/build/translations/th.js +0 -1
- package/admin/src/components/CKEditor/build/translations/tk.js +0 -1
- package/admin/src/components/CKEditor/build/translations/tr.js +0 -1
- package/admin/src/components/CKEditor/build/translations/tt.js +0 -1
- package/admin/src/components/CKEditor/build/translations/ug.js +0 -1
- package/admin/src/components/CKEditor/build/translations/uk.js +0 -1
- package/admin/src/components/CKEditor/build/translations/ur.js +0 -1
- package/admin/src/components/CKEditor/build/translations/uz.js +0 -1
- package/admin/src/components/CKEditor/build/translations/vi.js +0 -1
- package/admin/src/components/CKEditor/build/translations/zh-cn.js +0 -1
- package/admin/src/components/CKEditor/build/translations/zh.js +0 -1
- package/admin/src/components/CKEditor/index.js +0 -247
- package/admin/src/components/CKEditor/styles.js +0 -511
- package/admin/src/components/CKEditor/theme.js +0 -313
- package/admin/src/components/Initializer/index.js +0 -26
- package/admin/src/components/MediaLib/index.js +0 -44
- package/admin/src/components/Wysiwyg/index.js +0 -77
- package/admin/src/pages/App/index.js +0 -25
- package/admin/src/pages/HomePage/index.js +0 -20
- package/admin/src/pluginId.js +0 -6
- package/admin/src/translations/en.json +0 -1
- package/admin/src/translations/fr.json +0 -1
- package/admin/src/utils/axiosInstance.js +0 -40
- package/admin/src/utils/getTrad.js +0 -5
|
@@ -1,511 +0,0 @@
|
|
|
1
|
-
const styles = `
|
|
2
|
-
.ck-editor__main {
|
|
3
|
-
--ck-font-face:"Source Sans Pro",system-ui,Roboto,"Helvetica Neue","Helvetica",Arial,sans-serif;
|
|
4
|
-
min-height: ${200 / 16}em;
|
|
5
|
-
color:var(--ck-color-editor-base-text);
|
|
6
|
-
font-family:var(--ck-font-face);
|
|
7
|
-
> div {
|
|
8
|
-
min-height: ${200 / 16}em;
|
|
9
|
-
}
|
|
10
|
-
.ck-editor__editable {
|
|
11
|
-
line-height: initial;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
div, applet, object, iframe,
|
|
15
|
-
h1, h2,h3, h4, h5,h6, p, span,
|
|
16
|
-
pre, a, abbr, acronym,
|
|
17
|
-
address, big, cite, code, del, dfn,
|
|
18
|
-
em, img, ins, kbd, q, s, samp, small,
|
|
19
|
-
strike, strong, sub, sup, tt, var,
|
|
20
|
-
b, u, i, center, dl, dt, dd, ol,
|
|
21
|
-
ul, li, fieldset, form, label, legend,
|
|
22
|
-
table, caption, tbody, tfoot, thead,
|
|
23
|
-
tr, th, td, article, aside, canvas,
|
|
24
|
-
details, embed, figure, figcaption,
|
|
25
|
-
footer, header, hgroup, menu, nav, output,
|
|
26
|
-
ruby, section, summary, time, mark, audio, video {
|
|
27
|
-
font: revert;
|
|
28
|
-
margin:revert;
|
|
29
|
-
font-family:revert;
|
|
30
|
-
}
|
|
31
|
-
h1 {
|
|
32
|
-
font-size: 2em;
|
|
33
|
-
line-height: 2em;
|
|
34
|
-
padding-top: 1em;
|
|
35
|
-
margin-bottom: 0.6em;
|
|
36
|
-
font-weight: 400;
|
|
37
|
-
border-bottom: 1px solid #e9e9e9;
|
|
38
|
-
}
|
|
39
|
-
h2 {
|
|
40
|
-
font-size: 1.68em;
|
|
41
|
-
line-height: 1.68em;
|
|
42
|
-
padding-top: 0.8em;
|
|
43
|
-
margin-bottom: 0.4em;
|
|
44
|
-
font-weight: 400;
|
|
45
|
-
border-bottom: 1px solid #e9e9e9;
|
|
46
|
-
}
|
|
47
|
-
h3 {
|
|
48
|
-
font-size: 1.36em;
|
|
49
|
-
line-height: 1.5em;
|
|
50
|
-
padding-top: 0.8em;
|
|
51
|
-
margin-bottom: 0.2em;
|
|
52
|
-
font-weight: 400;
|
|
53
|
-
}
|
|
54
|
-
h4 {
|
|
55
|
-
font-size: 1.15em;
|
|
56
|
-
line-height: 1.4em;
|
|
57
|
-
padding-top: 0.7em;
|
|
58
|
-
margin-bottom: 0.1em;
|
|
59
|
-
font-weight: 400;
|
|
60
|
-
}
|
|
61
|
-
p{
|
|
62
|
-
font-size: 1em;
|
|
63
|
-
line-height: 1.6em;
|
|
64
|
-
padding-top: 0.2em;
|
|
65
|
-
margin-bottom: 0.8em;
|
|
66
|
-
}
|
|
67
|
-
figcaption{
|
|
68
|
-
background-color: var(--ck-color-image-caption-background);
|
|
69
|
-
caption-side: bottom;
|
|
70
|
-
color: var(--ck-color-image-caption-text);
|
|
71
|
-
display: table-caption;
|
|
72
|
-
font-size: .75em;
|
|
73
|
-
outline-offset: -1px;
|
|
74
|
-
padding: 0.6em;
|
|
75
|
-
word-break: break-word;
|
|
76
|
-
}
|
|
77
|
-
blockquote {}
|
|
78
|
-
.table {
|
|
79
|
-
margin: 0;
|
|
80
|
-
}
|
|
81
|
-
ul.todo-list {
|
|
82
|
-
list-style: none;
|
|
83
|
-
margin:revert;
|
|
84
|
-
color:revert;
|
|
85
|
-
font-family:revert;
|
|
86
|
-
margin-left: 32px;
|
|
87
|
-
}
|
|
88
|
-
ul, ol {
|
|
89
|
-
list-style: initial;
|
|
90
|
-
margin-left: 32px;
|
|
91
|
-
}
|
|
92
|
-
sub{
|
|
93
|
-
vertical-align: sub
|
|
94
|
-
}
|
|
95
|
-
sup{
|
|
96
|
-
vertical-align: super
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/*
|
|
101
|
-
* CKEditor 5 (v34.0.0) content styles.
|
|
102
|
-
* Generated on Wed, 27 Apr 2022 06:51:54 GMT.
|
|
103
|
-
* For more information, check out https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/content-styles.html
|
|
104
|
-
*/
|
|
105
|
-
:root {
|
|
106
|
-
--ck-color-image-caption-background: hsl(0, 0%, 97%);
|
|
107
|
-
--ck-color-image-caption-text: hsl(0, 0%, 20%);
|
|
108
|
-
--ck-color-mention-background: hsla(341, 100%, 30%, 0.1);
|
|
109
|
-
--ck-color-mention-text: hsl(341, 100%, 30%);
|
|
110
|
-
--ck-color-table-caption-background: hsl(0, 0%, 97%);
|
|
111
|
-
--ck-color-table-caption-text: hsl(0, 0%, 20%);
|
|
112
|
-
--ck-highlight-marker-blue: hsl(201, 97%, 72%);
|
|
113
|
-
--ck-highlight-marker-green: hsl(120, 93%, 68%);
|
|
114
|
-
--ck-highlight-marker-pink: hsl(345, 96%, 73%);
|
|
115
|
-
--ck-highlight-marker-yellow: hsl(60, 97%, 73%);
|
|
116
|
-
--ck-highlight-pen-green: hsl(112, 100%, 27%);
|
|
117
|
-
--ck-highlight-pen-red: hsl(0, 85%, 49%);
|
|
118
|
-
--ck-image-style-spacing: 1.5em;
|
|
119
|
-
--ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);
|
|
120
|
-
--ck-todo-list-checkmark-size: 16px;
|
|
121
|
-
}
|
|
122
|
-
/* ckeditor5-block-quote/theme/blockquote.css */
|
|
123
|
-
.ck-content blockquote {
|
|
124
|
-
overflow: hidden;
|
|
125
|
-
padding-right: 1.5em;
|
|
126
|
-
padding-left: 1.5em;
|
|
127
|
-
margin-left: 0;
|
|
128
|
-
margin-right: 0;
|
|
129
|
-
font-style: italic;
|
|
130
|
-
border-left: solid 5px hsl(0, 0%, 80%);
|
|
131
|
-
}
|
|
132
|
-
/* ckeditor5-block-quote/theme/blockquote.css */
|
|
133
|
-
.ck-content[dir="rtl"] blockquote {
|
|
134
|
-
border-left: 0;
|
|
135
|
-
border-right: solid 5px hsl(0, 0%, 80%);
|
|
136
|
-
}
|
|
137
|
-
/* ckeditor5-basic-styles/theme/code.css */
|
|
138
|
-
.ck-content code {
|
|
139
|
-
background-color: hsla(0, 0%, 78%, 0.3);
|
|
140
|
-
padding: .15em;
|
|
141
|
-
border-radius: 2px;
|
|
142
|
-
}
|
|
143
|
-
/* ckeditor5-font/theme/fontsize.css */
|
|
144
|
-
.ck-content .text-tiny {
|
|
145
|
-
font-size: .7em;
|
|
146
|
-
}
|
|
147
|
-
/* ckeditor5-font/theme/fontsize.css */
|
|
148
|
-
.ck-content .text-small {
|
|
149
|
-
font-size: .85em;
|
|
150
|
-
}
|
|
151
|
-
/* ckeditor5-font/theme/fontsize.css */
|
|
152
|
-
.ck-content .text-big {
|
|
153
|
-
font-size: 1.4em;
|
|
154
|
-
}
|
|
155
|
-
/* ckeditor5-font/theme/fontsize.css */
|
|
156
|
-
.ck-content .text-huge {
|
|
157
|
-
font-size: 1.8em;
|
|
158
|
-
}
|
|
159
|
-
/* ckeditor5-highlight/theme/highlight.css */
|
|
160
|
-
.ck-content .marker-yellow {
|
|
161
|
-
background-color: var(--ck-highlight-marker-yellow);
|
|
162
|
-
}
|
|
163
|
-
/* ckeditor5-highlight/theme/highlight.css */
|
|
164
|
-
.ck-content .marker-green {
|
|
165
|
-
background-color: var(--ck-highlight-marker-green);
|
|
166
|
-
}
|
|
167
|
-
/* ckeditor5-highlight/theme/highlight.css */
|
|
168
|
-
.ck-content .marker-pink {
|
|
169
|
-
background-color: var(--ck-highlight-marker-pink);
|
|
170
|
-
}
|
|
171
|
-
/* ckeditor5-highlight/theme/highlight.css */
|
|
172
|
-
.ck-content .marker-blue {
|
|
173
|
-
background-color: var(--ck-highlight-marker-blue);
|
|
174
|
-
}
|
|
175
|
-
/* ckeditor5-highlight/theme/highlight.css */
|
|
176
|
-
.ck-content .pen-red {
|
|
177
|
-
color: var(--ck-highlight-pen-red);
|
|
178
|
-
background-color: transparent;
|
|
179
|
-
}
|
|
180
|
-
/* ckeditor5-highlight/theme/highlight.css */
|
|
181
|
-
.ck-content .pen-green {
|
|
182
|
-
color: var(--ck-highlight-pen-green);
|
|
183
|
-
background-color: transparent;
|
|
184
|
-
}
|
|
185
|
-
/* ckeditor5-image/theme/image.css */
|
|
186
|
-
.ck-content .image {
|
|
187
|
-
display: table;
|
|
188
|
-
clear: both;
|
|
189
|
-
text-align: center;
|
|
190
|
-
margin: 0.9em auto;
|
|
191
|
-
min-width: 50px;
|
|
192
|
-
}
|
|
193
|
-
/* ckeditor5-image/theme/image.css */
|
|
194
|
-
.ck-content .image img {
|
|
195
|
-
display: block;
|
|
196
|
-
margin: 0 auto;
|
|
197
|
-
max-width: 100%;
|
|
198
|
-
min-width: 100%;
|
|
199
|
-
}
|
|
200
|
-
/* ckeditor5-image/theme/image.css */
|
|
201
|
-
.ck-content .image-inline {
|
|
202
|
-
/*
|
|
203
|
-
* Normally, the .image-inline would have "display: inline-block" and "img { width: 100% }" (to follow the wrapper while resizing).;
|
|
204
|
-
* Unfortunately, together with "srcset", it gets automatically stretched up to the width of the editing root.
|
|
205
|
-
* This strange behavior does not happen with inline-flex.
|
|
206
|
-
*/
|
|
207
|
-
display: inline-flex;
|
|
208
|
-
max-width: 100%;
|
|
209
|
-
align-items: flex-start;
|
|
210
|
-
}
|
|
211
|
-
/* ckeditor5-image/theme/image.css */
|
|
212
|
-
.ck-content .image-inline picture {
|
|
213
|
-
display: flex;
|
|
214
|
-
}
|
|
215
|
-
/* ckeditor5-image/theme/image.css */
|
|
216
|
-
.ck-content .image-inline picture,
|
|
217
|
-
.ck-content .image-inline img {
|
|
218
|
-
flex-grow: 1;
|
|
219
|
-
flex-shrink: 1;
|
|
220
|
-
max-width: 100%;
|
|
221
|
-
}
|
|
222
|
-
/* ckeditor5-image/theme/imageresize.css */
|
|
223
|
-
.ck-content .image.image_resized {
|
|
224
|
-
max-width: 100%;
|
|
225
|
-
display: block;
|
|
226
|
-
box-sizing: border-box;
|
|
227
|
-
}
|
|
228
|
-
/* ckeditor5-image/theme/imageresize.css */
|
|
229
|
-
.ck-content .image.image_resized img {
|
|
230
|
-
width: 100%;
|
|
231
|
-
}
|
|
232
|
-
/* ckeditor5-image/theme/imageresize.css */
|
|
233
|
-
.ck-content .image.image_resized > figcaption {
|
|
234
|
-
display: block;
|
|
235
|
-
}
|
|
236
|
-
/* ckeditor5-image/theme/imagecaption.css */
|
|
237
|
-
.ck-content .image > figcaption {
|
|
238
|
-
display: table-caption;
|
|
239
|
-
caption-side: bottom;
|
|
240
|
-
word-break: break-word;
|
|
241
|
-
color: var(--ck-color-image-caption-text);
|
|
242
|
-
background-color: var(--ck-color-image-caption-background);
|
|
243
|
-
padding: .6em;
|
|
244
|
-
font-size: .75em;
|
|
245
|
-
outline-offset: -1px;
|
|
246
|
-
}
|
|
247
|
-
/* ckeditor5-image/theme/imagestyle.css */
|
|
248
|
-
.ck-content .image-style-block-align-left,
|
|
249
|
-
.ck-content .image-style-block-align-right {
|
|
250
|
-
max-width: calc(100% - var(--ck-image-style-spacing));
|
|
251
|
-
}
|
|
252
|
-
/* ckeditor5-image/theme/imagestyle.css */
|
|
253
|
-
.ck-content .image-style-align-left,
|
|
254
|
-
.ck-content .image-style-align-right {
|
|
255
|
-
clear: none;
|
|
256
|
-
}
|
|
257
|
-
/* ckeditor5-image/theme/imagestyle.css */
|
|
258
|
-
.ck-content .image-style-side {
|
|
259
|
-
float: right;
|
|
260
|
-
margin-left: var(--ck-image-style-spacing);
|
|
261
|
-
max-width: 50%;
|
|
262
|
-
}
|
|
263
|
-
/* ckeditor5-image/theme/imagestyle.css */
|
|
264
|
-
.ck-content .image-style-align-left {
|
|
265
|
-
float: left;
|
|
266
|
-
margin-right: var(--ck-image-style-spacing);
|
|
267
|
-
}
|
|
268
|
-
/* ckeditor5-image/theme/imagestyle.css */
|
|
269
|
-
.ck-content .image-style-align-center {
|
|
270
|
-
margin-left: auto;
|
|
271
|
-
margin-right: auto;
|
|
272
|
-
}
|
|
273
|
-
/* ckeditor5-image/theme/imagestyle.css */
|
|
274
|
-
.ck-content .image-style-align-right {
|
|
275
|
-
float: right;
|
|
276
|
-
margin-left: var(--ck-image-style-spacing);
|
|
277
|
-
}
|
|
278
|
-
/* ckeditor5-image/theme/imagestyle.css */
|
|
279
|
-
.ck-content .image-style-block-align-right {
|
|
280
|
-
margin-right: 0;
|
|
281
|
-
margin-left: auto;
|
|
282
|
-
}
|
|
283
|
-
/* ckeditor5-image/theme/imagestyle.css */
|
|
284
|
-
.ck-content .image-style-block-align-left {
|
|
285
|
-
margin-left: 0;
|
|
286
|
-
margin-right: auto;
|
|
287
|
-
}
|
|
288
|
-
/* ckeditor5-image/theme/imagestyle.css */
|
|
289
|
-
.ck-content p + .image-style-align-left,
|
|
290
|
-
.ck-content p + .image-style-align-right,
|
|
291
|
-
.ck-content p + .image-style-side {
|
|
292
|
-
margin-top: 0;
|
|
293
|
-
}
|
|
294
|
-
/* ckeditor5-image/theme/imagestyle.css */
|
|
295
|
-
.ck-content .image-inline.image-style-align-left,
|
|
296
|
-
.ck-content .image-inline.image-style-align-right {
|
|
297
|
-
margin-top: var(--ck-inline-image-style-spacing);
|
|
298
|
-
margin-bottom: var(--ck-inline-image-style-spacing);
|
|
299
|
-
}
|
|
300
|
-
/* ckeditor5-image/theme/imagestyle.css */
|
|
301
|
-
.ck-content .image-inline.image-style-align-left {
|
|
302
|
-
margin-right: var(--ck-inline-image-style-spacing);
|
|
303
|
-
}
|
|
304
|
-
/* ckeditor5-image/theme/imagestyle.css */
|
|
305
|
-
.ck-content .image-inline.image-style-align-right {
|
|
306
|
-
margin-left: var(--ck-inline-image-style-spacing);
|
|
307
|
-
}
|
|
308
|
-
/* ckeditor5-language/theme/language.css */
|
|
309
|
-
.ck-content span[lang] {
|
|
310
|
-
font-style: italic;
|
|
311
|
-
}
|
|
312
|
-
/* ckeditor5-media-embed/theme/mediaembed.css */
|
|
313
|
-
.ck-content .media {
|
|
314
|
-
clear: both;
|
|
315
|
-
margin: 0.9em 0;
|
|
316
|
-
display: block;
|
|
317
|
-
min-width: 15em;
|
|
318
|
-
}
|
|
319
|
-
/* ckeditor5-list/theme/todolist.css */
|
|
320
|
-
.ck-content .todo-list {
|
|
321
|
-
list-style: none;
|
|
322
|
-
}
|
|
323
|
-
/* ckeditor5-list/theme/todolist.css */
|
|
324
|
-
.ck-content .todo-list li {
|
|
325
|
-
margin-bottom: 5px;
|
|
326
|
-
}
|
|
327
|
-
/* ckeditor5-list/theme/todolist.css */
|
|
328
|
-
.ck-content .todo-list li .todo-list {
|
|
329
|
-
margin-top: 5px;
|
|
330
|
-
}
|
|
331
|
-
/* ckeditor5-list/theme/todolist.css */
|
|
332
|
-
.ck-content .todo-list .todo-list__label > input {
|
|
333
|
-
-webkit-appearance: none;
|
|
334
|
-
display: inline-block;
|
|
335
|
-
position: relative;
|
|
336
|
-
width: var(--ck-todo-list-checkmark-size);
|
|
337
|
-
height: var(--ck-todo-list-checkmark-size);
|
|
338
|
-
vertical-align: middle;
|
|
339
|
-
border: 0;
|
|
340
|
-
left: -25px;
|
|
341
|
-
margin-right: -15px;
|
|
342
|
-
right: 0;
|
|
343
|
-
margin-left: 0;
|
|
344
|
-
}
|
|
345
|
-
/* ckeditor5-list/theme/todolist.css */
|
|
346
|
-
.ck-content .todo-list .todo-list__label > input::before {
|
|
347
|
-
display: block;
|
|
348
|
-
position: absolute;
|
|
349
|
-
box-sizing: border-box;
|
|
350
|
-
content: '';
|
|
351
|
-
width: 100%;
|
|
352
|
-
height: 100%;
|
|
353
|
-
border: 1px solid hsl(0, 0%, 20%);
|
|
354
|
-
border-radius: 2px;
|
|
355
|
-
transition: 250ms ease-in-out box-shadow, 250ms ease-in-out background, 250ms ease-in-out border;
|
|
356
|
-
}
|
|
357
|
-
/* ckeditor5-list/theme/todolist.css */
|
|
358
|
-
.ck-content .todo-list .todo-list__label > input::after {
|
|
359
|
-
display: block;
|
|
360
|
-
position: absolute;
|
|
361
|
-
box-sizing: content-box;
|
|
362
|
-
pointer-events: none;
|
|
363
|
-
content: '';
|
|
364
|
-
left: calc( var(--ck-todo-list-checkmark-size) / 3 );
|
|
365
|
-
top: calc( var(--ck-todo-list-checkmark-size) / 5.3 );
|
|
366
|
-
width: calc( var(--ck-todo-list-checkmark-size) / 5.3 );
|
|
367
|
-
height: calc( var(--ck-todo-list-checkmark-size) / 2.6 );
|
|
368
|
-
border-style: solid;
|
|
369
|
-
border-color: transparent;
|
|
370
|
-
border-width: 0 calc( var(--ck-todo-list-checkmark-size) / 8 ) calc( var(--ck-todo-list-checkmark-size) / 8 ) 0;
|
|
371
|
-
transform: rotate(45deg);
|
|
372
|
-
}
|
|
373
|
-
/* ckeditor5-list/theme/todolist.css */
|
|
374
|
-
.ck-content .todo-list .todo-list__label > input[checked]::before {
|
|
375
|
-
background: hsl(126, 64%, 41%);
|
|
376
|
-
border-color: hsl(126, 64%, 41%);
|
|
377
|
-
}
|
|
378
|
-
/* ckeditor5-list/theme/todolist.css */
|
|
379
|
-
.ck-content .todo-list .todo-list__label > input[checked]::after {
|
|
380
|
-
border-color: hsl(0, 0%, 100%);
|
|
381
|
-
}
|
|
382
|
-
/* ckeditor5-list/theme/todolist.css */
|
|
383
|
-
.ck-content .todo-list .todo-list__label .todo-list__label__description {
|
|
384
|
-
vertical-align: middle;
|
|
385
|
-
}
|
|
386
|
-
/* ckeditor5-page-break/theme/pagebreak.css */
|
|
387
|
-
.ck-content .page-break {
|
|
388
|
-
position: relative;
|
|
389
|
-
clear: both;
|
|
390
|
-
padding: 5px 0;
|
|
391
|
-
display: flex;
|
|
392
|
-
align-items: center;
|
|
393
|
-
justify-content: center;
|
|
394
|
-
}
|
|
395
|
-
/* ckeditor5-page-break/theme/pagebreak.css */
|
|
396
|
-
.ck-content .page-break::after {
|
|
397
|
-
content: '';
|
|
398
|
-
position: absolute;
|
|
399
|
-
border-bottom: 2px dashed hsl(0, 0%, 77%);
|
|
400
|
-
width: 100%;
|
|
401
|
-
}
|
|
402
|
-
/* ckeditor5-page-break/theme/pagebreak.css */
|
|
403
|
-
.ck-content .page-break__label {
|
|
404
|
-
position: relative;
|
|
405
|
-
z-index: 1;
|
|
406
|
-
padding: .3em .6em;
|
|
407
|
-
display: block;
|
|
408
|
-
text-transform: uppercase;
|
|
409
|
-
border: 1px solid hsl(0, 0%, 77%);
|
|
410
|
-
border-radius: 2px;
|
|
411
|
-
font-family: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;
|
|
412
|
-
font-size: 0.75em;
|
|
413
|
-
font-weight: bold;
|
|
414
|
-
color: hsl(0, 0%, 20%);
|
|
415
|
-
background: hsl(0, 0%, 100%);
|
|
416
|
-
box-shadow: 2px 2px 1px hsla(0, 0%, 0%, 0.15);
|
|
417
|
-
-webkit-user-select: none;
|
|
418
|
-
-moz-user-select: none;
|
|
419
|
-
-ms-user-select: none;
|
|
420
|
-
user-select: none;
|
|
421
|
-
}
|
|
422
|
-
/* ckeditor5-table/theme/tablecaption.css */
|
|
423
|
-
.ck-content .table > figcaption {
|
|
424
|
-
display: table-caption;
|
|
425
|
-
caption-side: top;
|
|
426
|
-
word-break: break-word;
|
|
427
|
-
text-align: center;
|
|
428
|
-
color: var(--ck-color-table-caption-text);
|
|
429
|
-
background-color: var(--ck-color-table-caption-background);
|
|
430
|
-
padding: .6em;
|
|
431
|
-
font-size: .75em;
|
|
432
|
-
outline-offset: -1px;
|
|
433
|
-
}
|
|
434
|
-
/* ckeditor5-table/theme/table.css */
|
|
435
|
-
.ck-content .table {
|
|
436
|
-
margin: 0.9em auto;
|
|
437
|
-
display: table;
|
|
438
|
-
}
|
|
439
|
-
/* ckeditor5-table/theme/table.css */
|
|
440
|
-
.ck-content .table table {
|
|
441
|
-
border-collapse: collapse;
|
|
442
|
-
border-spacing: 0;
|
|
443
|
-
width: 100%;
|
|
444
|
-
height: 100%;
|
|
445
|
-
border: 1px double hsl(0, 0%, 70%);
|
|
446
|
-
}
|
|
447
|
-
/* ckeditor5-table/theme/table.css */
|
|
448
|
-
.ck-content .table table td,
|
|
449
|
-
.ck-content .table table th {
|
|
450
|
-
min-width: 2em;
|
|
451
|
-
padding: .4em;
|
|
452
|
-
border: 1px solid hsl(0, 0%, 75%);
|
|
453
|
-
}
|
|
454
|
-
/* ckeditor5-table/theme/table.css */
|
|
455
|
-
.ck-content .table table th {
|
|
456
|
-
font-weight: bold;
|
|
457
|
-
background: hsla(0, 0%, 0%, 5%);
|
|
458
|
-
}
|
|
459
|
-
/* ckeditor5-table/theme/table.css */
|
|
460
|
-
.ck-content[dir="rtl"] .table th {
|
|
461
|
-
text-align: right;
|
|
462
|
-
}
|
|
463
|
-
/* ckeditor5-table/theme/table.css */
|
|
464
|
-
.ck-content[dir="ltr"] .table th {
|
|
465
|
-
text-align: left;
|
|
466
|
-
}
|
|
467
|
-
/* ckeditor5-code-block/theme/codeblock.css */
|
|
468
|
-
.ck-content pre {
|
|
469
|
-
padding: 1em;
|
|
470
|
-
color: hsl(0, 0%, 20.8%);
|
|
471
|
-
background: hsla(0, 0%, 78%, 0.3);
|
|
472
|
-
border: 1px solid hsl(0, 0%, 77%);
|
|
473
|
-
border-radius: 2px;
|
|
474
|
-
text-align: left;
|
|
475
|
-
direction: ltr;
|
|
476
|
-
tab-size: 4;
|
|
477
|
-
white-space: pre-wrap;
|
|
478
|
-
font-style: normal;
|
|
479
|
-
min-width: 200px;
|
|
480
|
-
}
|
|
481
|
-
/* ckeditor5-code-block/theme/codeblock.css */
|
|
482
|
-
.ck-content pre code {
|
|
483
|
-
background: unset;
|
|
484
|
-
padding: 0;
|
|
485
|
-
border-radius: 0;
|
|
486
|
-
}
|
|
487
|
-
/* ckeditor5-horizontal-line/theme/horizontalline.css */
|
|
488
|
-
.ck-content hr {
|
|
489
|
-
margin: 15px 0;
|
|
490
|
-
height: 4px;
|
|
491
|
-
background: hsl(0, 0%, 87%);
|
|
492
|
-
border: 0;
|
|
493
|
-
}
|
|
494
|
-
/* ckeditor5-mention/theme/mention.css */
|
|
495
|
-
.ck-content .mention {
|
|
496
|
-
background: var(--ck-color-mention-background);
|
|
497
|
-
color: var(--ck-color-mention-text);
|
|
498
|
-
}
|
|
499
|
-
@media print {
|
|
500
|
-
/* ckeditor5-page-break/theme/pagebreak.css */
|
|
501
|
-
.ck-content .page-break {
|
|
502
|
-
padding: 0;
|
|
503
|
-
}
|
|
504
|
-
/* ckeditor5-page-break/theme/pagebreak.css */
|
|
505
|
-
.ck-content .page-break::after {
|
|
506
|
-
display: none;
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
`;
|
|
510
|
-
|
|
511
|
-
export default styles
|