ckeditor5 41.3.1 → 41.4.0-alpha.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.

Potentially problematic release.


This version of ckeditor5 might be problematic. Click here for more details.

Files changed (176) hide show
  1. package/CHANGELOG.md +122 -109
  2. package/build/ckeditor5-dll.js +1 -1
  3. package/build/ckeditor5-dll.manifest.json +2 -2
  4. package/dist/browser/index-content.css +5 -0
  5. package/dist/browser/index-editor.css +67 -0
  6. package/dist/browser/index.css +6 -0
  7. package/dist/browser/index.css.map +1 -0
  8. package/dist/browser/index.js +6 -0
  9. package/dist/browser/index.js.map +1 -0
  10. package/dist/browser/index.umd.js +548 -0
  11. package/dist/browser/index.umd.js.map +1 -0
  12. package/dist/index-content.css +375 -0
  13. package/dist/index-editor.css +4711 -0
  14. package/dist/index.css +8887 -0
  15. package/dist/index.css.map +1 -0
  16. package/dist/index.js +61 -0
  17. package/dist/index.js.map +1 -0
  18. package/dist/translations/af.d.ts +8 -0
  19. package/dist/translations/af.js +5 -0
  20. package/dist/translations/ar.d.ts +8 -0
  21. package/dist/translations/ar.js +5 -0
  22. package/dist/translations/ast.d.ts +8 -0
  23. package/dist/translations/ast.js +5 -0
  24. package/dist/translations/az.d.ts +8 -0
  25. package/dist/translations/az.js +5 -0
  26. package/dist/translations/bg.d.ts +8 -0
  27. package/dist/translations/bg.js +5 -0
  28. package/dist/translations/bn.d.ts +8 -0
  29. package/dist/translations/bn.js +5 -0
  30. package/dist/translations/bs.d.ts +8 -0
  31. package/dist/translations/bs.js +5 -0
  32. package/dist/translations/ca.d.ts +8 -0
  33. package/dist/translations/ca.js +5 -0
  34. package/dist/translations/cs.d.ts +8 -0
  35. package/dist/translations/cs.js +5 -0
  36. package/dist/translations/da.d.ts +8 -0
  37. package/dist/translations/da.js +5 -0
  38. package/dist/translations/de-ch.d.ts +8 -0
  39. package/dist/translations/de-ch.js +5 -0
  40. package/dist/translations/de.d.ts +8 -0
  41. package/dist/translations/de.js +5 -0
  42. package/dist/translations/el.d.ts +8 -0
  43. package/dist/translations/el.js +5 -0
  44. package/dist/translations/en-au.d.ts +8 -0
  45. package/dist/translations/en-au.js +5 -0
  46. package/dist/translations/en-gb.d.ts +8 -0
  47. package/dist/translations/en-gb.js +5 -0
  48. package/dist/translations/en.d.ts +8 -0
  49. package/dist/translations/en.js +5 -0
  50. package/dist/translations/eo.d.ts +8 -0
  51. package/dist/translations/eo.js +5 -0
  52. package/dist/translations/es-co.d.ts +8 -0
  53. package/dist/translations/es-co.js +5 -0
  54. package/dist/translations/es.d.ts +8 -0
  55. package/dist/translations/es.js +5 -0
  56. package/dist/translations/et.d.ts +8 -0
  57. package/dist/translations/et.js +5 -0
  58. package/dist/translations/eu.d.ts +8 -0
  59. package/dist/translations/eu.js +5 -0
  60. package/dist/translations/fa.d.ts +8 -0
  61. package/dist/translations/fa.js +5 -0
  62. package/dist/translations/fi.d.ts +8 -0
  63. package/dist/translations/fi.js +5 -0
  64. package/dist/translations/fr.d.ts +8 -0
  65. package/dist/translations/fr.js +5 -0
  66. package/dist/translations/gl.d.ts +8 -0
  67. package/dist/translations/gl.js +5 -0
  68. package/dist/translations/gu.d.ts +8 -0
  69. package/dist/translations/gu.js +5 -0
  70. package/dist/translations/he.d.ts +8 -0
  71. package/dist/translations/he.js +5 -0
  72. package/dist/translations/hi.d.ts +8 -0
  73. package/dist/translations/hi.js +5 -0
  74. package/dist/translations/hr.d.ts +8 -0
  75. package/dist/translations/hr.js +5 -0
  76. package/dist/translations/hu.d.ts +8 -0
  77. package/dist/translations/hu.js +5 -0
  78. package/dist/translations/hy.d.ts +8 -0
  79. package/dist/translations/hy.js +5 -0
  80. package/dist/translations/id.d.ts +8 -0
  81. package/dist/translations/id.js +5 -0
  82. package/dist/translations/it.d.ts +8 -0
  83. package/dist/translations/it.js +5 -0
  84. package/dist/translations/ja.d.ts +8 -0
  85. package/dist/translations/ja.js +5 -0
  86. package/dist/translations/jv.d.ts +8 -0
  87. package/dist/translations/jv.js +5 -0
  88. package/dist/translations/kk.d.ts +8 -0
  89. package/dist/translations/kk.js +5 -0
  90. package/dist/translations/km.d.ts +8 -0
  91. package/dist/translations/km.js +5 -0
  92. package/dist/translations/kn.d.ts +8 -0
  93. package/dist/translations/kn.js +5 -0
  94. package/dist/translations/ko.d.ts +8 -0
  95. package/dist/translations/ko.js +5 -0
  96. package/dist/translations/ku.d.ts +8 -0
  97. package/dist/translations/ku.js +5 -0
  98. package/dist/translations/lt.d.ts +8 -0
  99. package/dist/translations/lt.js +5 -0
  100. package/dist/translations/lv.d.ts +8 -0
  101. package/dist/translations/lv.js +5 -0
  102. package/dist/translations/ms.d.ts +8 -0
  103. package/dist/translations/ms.js +5 -0
  104. package/dist/translations/nb.d.ts +8 -0
  105. package/dist/translations/nb.js +5 -0
  106. package/dist/translations/ne.d.ts +8 -0
  107. package/dist/translations/ne.js +5 -0
  108. package/dist/translations/nl.d.ts +8 -0
  109. package/dist/translations/nl.js +5 -0
  110. package/dist/translations/no.d.ts +8 -0
  111. package/dist/translations/no.js +5 -0
  112. package/dist/translations/oc.d.ts +8 -0
  113. package/dist/translations/oc.js +5 -0
  114. package/dist/translations/pl.d.ts +8 -0
  115. package/dist/translations/pl.js +5 -0
  116. package/dist/translations/pt-br.d.ts +8 -0
  117. package/dist/translations/pt-br.js +5 -0
  118. package/dist/translations/pt.d.ts +8 -0
  119. package/dist/translations/pt.js +5 -0
  120. package/dist/translations/ro.d.ts +8 -0
  121. package/dist/translations/ro.js +5 -0
  122. package/dist/translations/ru.d.ts +8 -0
  123. package/dist/translations/ru.js +5 -0
  124. package/dist/translations/si.d.ts +8 -0
  125. package/dist/translations/si.js +5 -0
  126. package/dist/translations/sk.d.ts +8 -0
  127. package/dist/translations/sk.js +5 -0
  128. package/dist/translations/sl.d.ts +8 -0
  129. package/dist/translations/sl.js +5 -0
  130. package/dist/translations/sq.d.ts +8 -0
  131. package/dist/translations/sq.js +5 -0
  132. package/dist/translations/sr-latn.d.ts +8 -0
  133. package/dist/translations/sr-latn.js +5 -0
  134. package/dist/translations/sr.d.ts +8 -0
  135. package/dist/translations/sr.js +5 -0
  136. package/dist/translations/sv.d.ts +8 -0
  137. package/dist/translations/sv.js +5 -0
  138. package/dist/translations/th.d.ts +8 -0
  139. package/dist/translations/th.js +5 -0
  140. package/dist/translations/tk.d.ts +8 -0
  141. package/dist/translations/tk.js +5 -0
  142. package/dist/translations/tr.d.ts +8 -0
  143. package/dist/translations/tr.js +5 -0
  144. package/dist/translations/tt.d.ts +8 -0
  145. package/dist/translations/tt.js +5 -0
  146. package/dist/translations/ug.d.ts +8 -0
  147. package/dist/translations/ug.js +5 -0
  148. package/dist/translations/uk.d.ts +8 -0
  149. package/dist/translations/uk.js +5 -0
  150. package/dist/translations/ur.d.ts +8 -0
  151. package/dist/translations/ur.js +5 -0
  152. package/dist/translations/uz.d.ts +8 -0
  153. package/dist/translations/uz.js +5 -0
  154. package/dist/translations/vi.d.ts +8 -0
  155. package/dist/translations/vi.js +5 -0
  156. package/dist/translations/zh-cn.d.ts +8 -0
  157. package/dist/translations/zh-cn.js +5 -0
  158. package/dist/translations/zh.d.ts +8 -0
  159. package/dist/translations/zh.js +5 -0
  160. package/dist/types/clipboard.d.ts +12 -0
  161. package/dist/types/core.d.ts +12 -0
  162. package/dist/types/engine.d.ts +12 -0
  163. package/dist/types/enter.d.ts +12 -0
  164. package/dist/types/index.d.ts +65 -0
  165. package/dist/types/paragraph.d.ts +12 -0
  166. package/dist/types/select-all.d.ts +12 -0
  167. package/dist/types/typing.d.ts +12 -0
  168. package/dist/types/ui.d.ts +12 -0
  169. package/dist/types/undo.d.ts +12 -0
  170. package/dist/types/upload.d.ts +12 -0
  171. package/dist/types/utils.d.ts +12 -0
  172. package/dist/types/watchdog.d.ts +12 -0
  173. package/dist/types/widget.d.ts +12 -0
  174. package/package.json +66 -14
  175. package/src/index.d.ts +61 -0
  176. package/src/index.js +61 -0
@@ -0,0 +1,375 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ :root {
6
+ --ck-color-mention-background: hsla(341, 100%, 30%, 0.1);
7
+ --ck-color-mention-text: hsl(341, 100%, 30%);
8
+ --ck-highlight-marker-yellow: hsl(60, 97%, 73%);
9
+ --ck-highlight-marker-green: hsl(120, 93%, 68%);
10
+ --ck-highlight-marker-pink: hsl(345, 96%, 73%);
11
+ --ck-highlight-marker-blue: hsl(201, 97%, 72%);
12
+ --ck-highlight-pen-red: hsl(0, 85%, 49%);
13
+ --ck-highlight-pen-green: hsl(112, 100%, 27%);
14
+ --ck-color-image-caption-background: hsl(0, 0%, 97%);
15
+ --ck-color-image-caption-text: hsl(0, 0%, 20%);
16
+ --ck-image-style-spacing: 1.5em;
17
+ --ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);
18
+ --ck-todo-list-checkmark-size: 16px;
19
+ --ck-color-selector-caption-background: hsl(0, 0%, 97%);
20
+ --ck-color-selector-caption-text: hsl(0, 0%, 20%);
21
+ }
22
+ .ck-content .mention {
23
+ background: var(--ck-color-mention-background);
24
+ color: var(--ck-color-mention-text);
25
+ }
26
+ .ck-content code {
27
+ background-color: hsla(0, 0%, 78%, 0.3);
28
+ padding: .15em;
29
+ border-radius: 2px;
30
+ }
31
+ .ck-content blockquote {
32
+ overflow: hidden;
33
+ padding-right: 1.5em;
34
+ padding-left: 1.5em;
35
+ margin-left: 0;
36
+ margin-right: 0;
37
+ font-style: italic;
38
+ border-left: solid 5px hsl(0, 0%, 80%);
39
+ }
40
+ .ck-content[dir="rtl"] blockquote {
41
+ border-left: 0;
42
+ border-right: solid 5px hsl(0, 0%, 80%);
43
+ }
44
+ .ck-content pre {
45
+ padding: 1em;
46
+ color: hsl(0, 0%, 20.8%);
47
+ background: hsla(0, 0%, 78%, 0.3);
48
+ border: 1px solid hsl(0, 0%, 77%);
49
+ border-radius: 2px;
50
+ text-align: left;
51
+ direction: ltr;
52
+ tab-size: 4;
53
+ white-space: pre-wrap;
54
+ font-style: normal;
55
+ min-width: 200px;
56
+ }
57
+ .ck-content pre code {
58
+ background: unset;
59
+ padding: 0;
60
+ border-radius: 0;
61
+ }
62
+ .ck-content .text-tiny {
63
+ font-size: .7em;
64
+ }
65
+ .ck-content .text-small {
66
+ font-size: .85em;
67
+ }
68
+ .ck-content .text-big {
69
+ font-size: 1.4em;
70
+ }
71
+ .ck-content .text-huge {
72
+ font-size: 1.8em;
73
+ }
74
+ .ck-content .marker-yellow {
75
+ background-color: var(--ck-highlight-marker-yellow);
76
+ }
77
+ .ck-content .marker-green {
78
+ background-color: var(--ck-highlight-marker-green);
79
+ }
80
+ .ck-content .marker-pink {
81
+ background-color: var(--ck-highlight-marker-pink);
82
+ }
83
+ .ck-content .marker-blue {
84
+ background-color: var(--ck-highlight-marker-blue);
85
+ }
86
+ .ck-content .pen-red {
87
+ color: var(--ck-highlight-pen-red);
88
+ background-color: transparent;
89
+ }
90
+ .ck-content .pen-green {
91
+ color: var(--ck-highlight-pen-green);
92
+ background-color: transparent;
93
+ }
94
+ .ck-content hr {
95
+ margin: 15px 0;
96
+ height: 4px;
97
+ background: hsl(0, 0%, 87%);
98
+ border: 0;
99
+ }
100
+ .ck-content .image > figcaption {
101
+ display: table-caption;
102
+ caption-side: bottom;
103
+ word-break: break-word;
104
+ color: var(--ck-color-image-caption-text);
105
+ background-color: var(--ck-color-image-caption-background);
106
+ padding: .6em;
107
+ font-size: .75em;
108
+ outline-offset: -1px;
109
+ }
110
+ .ck-content img.image_resized {
111
+ height: auto;
112
+ }
113
+ .ck-content .image.image_resized {
114
+ max-width: 100%;
115
+ display: block;
116
+ box-sizing: border-box;
117
+ }
118
+ .ck-content .image.image_resized img {
119
+ width: 100%;
120
+ }
121
+ .ck-content .image.image_resized > figcaption {
122
+ display: block;
123
+ }
124
+ .ck-content .image-style-block-align-left {
125
+ max-width: calc(100% - var(--ck-image-style-spacing));
126
+ }
127
+ .ck-content .image-style-align-left {
128
+ clear: none;
129
+ }
130
+ .ck-content .image-style-side {
131
+ float: right;
132
+ margin-left: var(--ck-image-style-spacing);
133
+ max-width: 50%;
134
+ }
135
+ .ck-content .image-style-align-left {
136
+ float: left;
137
+ margin-right: var(--ck-image-style-spacing);
138
+ }
139
+ .ck-content .image-style-align-center {
140
+ margin-left: auto;
141
+ margin-right: auto;
142
+ }
143
+ .ck-content .image-style-align-right {
144
+ float: right;
145
+ margin-left: var(--ck-image-style-spacing);
146
+ }
147
+ .ck-content .image-style-block-align-right {
148
+ margin-right: 0;
149
+ margin-left: auto;
150
+ }
151
+ .ck-content .image-style-block-align-left {
152
+ margin-left: 0;
153
+ margin-right: auto;
154
+ }
155
+ .ck-content p + .image-style-align-left {
156
+ margin-top: 0;
157
+ }
158
+ .ck-content .image-inline.image-style-align-left {
159
+ margin-top: var(--ck-inline-image-style-spacing);
160
+ margin-bottom: var(--ck-inline-image-style-spacing);
161
+ }
162
+ .ck-content .image-inline.image-style-align-left {
163
+ margin-right: var(--ck-inline-image-style-spacing);
164
+ }
165
+ .ck-content .image-inline.image-style-align-right {
166
+ margin-left: var(--ck-inline-image-style-spacing);
167
+ }
168
+ .ck-content .image {
169
+ display: table;
170
+ clear: both;
171
+ text-align: center;
172
+ margin: 0.9em auto;
173
+ min-width: 50px;
174
+ }
175
+ .ck-content .image img {
176
+ display: block;
177
+ margin: 0 auto;
178
+ max-width: 100%;
179
+ min-width: 100%;
180
+ height: auto;
181
+ }
182
+ .ck-content .image-inline {
183
+ display: inline-flex;
184
+ max-width: 100%;
185
+ align-items: flex-start;
186
+ }
187
+ .ck-content .image-inline picture {
188
+ display: flex;
189
+ }
190
+ .ck-content .image-inline picture {
191
+ flex-grow: 1;
192
+ flex-shrink: 1;
193
+ max-width: 100%;
194
+ }
195
+ .ck-content ol {
196
+ list-style-type: decimal;
197
+ }
198
+ .ck-content ol ol {
199
+ list-style-type: lower-latin;
200
+ }
201
+ .ck-content ol ol ol {
202
+ list-style-type: lower-roman;
203
+ }
204
+ .ck-content ol ol ol ol {
205
+ list-style-type: upper-latin;
206
+ }
207
+ .ck-content ol ol ol ol ol {
208
+ list-style-type: upper-roman;
209
+ }
210
+ .ck-content ul {
211
+ list-style-type: disc;
212
+ }
213
+ .ck-content ul ul {
214
+ list-style-type: circle;
215
+ }
216
+ .ck-content ul ul ul {
217
+ list-style-type: square;
218
+ }
219
+ .ck-content ul ul ul ul {
220
+ list-style-type: square;
221
+ }
222
+ .ck-content .todo-list {
223
+ list-style: none;
224
+ }
225
+ .ck-content .todo-list li {
226
+ position: relative;
227
+ margin-bottom: 5px;
228
+ }
229
+ .ck-content .todo-list li .todo-list {
230
+ margin-top: 5px;
231
+ }
232
+ .ck-content .todo-list .todo-list__label > input {
233
+ -webkit-appearance: none;
234
+ display: inline-block;
235
+ position: relative;
236
+ width: var(--ck-todo-list-checkmark-size);
237
+ height: var(--ck-todo-list-checkmark-size);
238
+ vertical-align: middle;
239
+ border: 0;
240
+ left: -25px;
241
+ margin-right: -15px;
242
+ right: 0;
243
+ margin-left: 0;
244
+ }
245
+ .ck-content[dir=rtl] .todo-list .todo-list__label > input {
246
+ left: 0;
247
+ margin-right: 0;
248
+ right: -25px;
249
+ margin-left: -15px;
250
+ }
251
+ .ck-content .todo-list .todo-list__label > input::before {
252
+ display: block;
253
+ position: absolute;
254
+ box-sizing: border-box;
255
+ content: '';
256
+ width: 100%;
257
+ height: 100%;
258
+ border: 1px solid hsl(0, 0%, 20%);
259
+ border-radius: 2px;
260
+ transition: 250ms ease-in-out box-shadow;
261
+ }
262
+ .ck-content .todo-list .todo-list__label > input::after {
263
+ display: block;
264
+ position: absolute;
265
+ box-sizing: content-box;
266
+ pointer-events: none;
267
+ content: '';
268
+ left: calc( var(--ck-todo-list-checkmark-size) / 3 );
269
+ top: calc( var(--ck-todo-list-checkmark-size) / 5.3 );
270
+ width: calc( var(--ck-todo-list-checkmark-size) / 5.3 );
271
+ height: calc( var(--ck-todo-list-checkmark-size) / 2.6 );
272
+ border-style: solid;
273
+ border-color: transparent;
274
+ border-width: 0 calc( var(--ck-todo-list-checkmark-size) / 8 ) calc( var(--ck-todo-list-checkmark-size) / 8 ) 0;
275
+ transform: rotate(45deg);
276
+ }
277
+ .ck-content .todo-list .todo-list__label > input[checked]::before {
278
+ background: hsl(126, 64%, 41%);
279
+ border-color: hsl(126, 64%, 41%);
280
+ }
281
+ .ck-content .todo-list .todo-list__label > input[checked]::after {
282
+ border-color: hsl(0, 0%, 100%);
283
+ }
284
+ .ck-content .todo-list .todo-list__label .todo-list__label__description {
285
+ vertical-align: middle;
286
+ }
287
+ .ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox] {
288
+ position: absolute;
289
+ }
290
+ .ck-content .media {
291
+ clear: both;
292
+ margin: 0.9em 0;
293
+ display: block;
294
+ min-width: 15em;
295
+ }
296
+ .ck-content .page-break {
297
+ position: relative;
298
+ clear: both;
299
+ padding: 5px 0;
300
+ display: flex;
301
+ align-items: center;
302
+ justify-content: center;
303
+ }
304
+ .ck-content .page-break::after {
305
+ content: '';
306
+ position: absolute;
307
+ border-bottom: 2px dashed hsl(0, 0%, 77%);
308
+ width: 100%;
309
+ }
310
+ .ck-content .page-break__label {
311
+ position: relative;
312
+ z-index: 1;
313
+ padding: .3em .6em;
314
+ display: block;
315
+ text-transform: uppercase;
316
+ border: 1px solid hsl(0, 0%, 77%);
317
+ border-radius: 2px;
318
+ font-family: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;
319
+ font-size: 0.75em;
320
+ font-weight: bold;
321
+ color: hsl(0, 0%, 20%);
322
+ background: hsl(0, 0%, 100%);
323
+ box-shadow: 2px 2px 1px hsla(0, 0%, 0%, 0.15);
324
+ -webkit-user-select: none;
325
+ -moz-user-select: none;
326
+ -ms-user-select: none;
327
+ user-select: none;
328
+ }
329
+ .ck-content .table {
330
+ margin: 0.9em auto;
331
+ display: table;
332
+ }
333
+ .ck-content .table table {
334
+ border-collapse: collapse;
335
+ border-spacing: 0;
336
+ width: 100%;
337
+ height: 100%;
338
+ border: 1px double hsl(0, 0%, 70%);
339
+ }
340
+ .ck-content .table table td {
341
+ min-width: 2em;
342
+ padding: .4em;
343
+ border: 1px solid hsl(0, 0%, 75%);
344
+ }
345
+ .ck-content .table table th {
346
+ font-weight: bold;
347
+ background: hsla(0, 0%, 0%, 5%);
348
+ }
349
+ .ck-content[dir="rtl"] .table th {
350
+ text-align: right;
351
+ }
352
+ .ck-content[dir="ltr"] .table th {
353
+ text-align: left;
354
+ }
355
+ .ck-content .table > figcaption {
356
+ display: table-caption;
357
+ caption-side: top;
358
+ word-break: break-word;
359
+ text-align: center;
360
+ color: var(--ck-color-selector-caption-text);
361
+ background-color: var(--ck-color-selector-caption-background);
362
+ padding: .6em;
363
+ font-size: .75em;
364
+ outline-offset: -1px;
365
+ }
366
+ .ck-content .table .ck-table-resized {
367
+ table-layout: fixed;
368
+ }
369
+ .ck-content .table table {
370
+ overflow: hidden;
371
+ }
372
+ .ck-content .table td {
373
+ overflow-wrap: break-word;
374
+ position: relative;
375
+ }