@ckeditor/ckeditor5-image 47.6.1 → 48.0.0-alpha.1
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.md +1 -1
- package/ckeditor5-metadata.json +25 -25
- package/{src → dist}/autoimage.d.ts +4 -4
- package/{src → dist}/image/converters.d.ts +1 -1
- package/{src → dist}/image/imageblockediting.d.ts +2 -2
- package/{src → dist}/image/imageediting.d.ts +1 -1
- package/{src → dist}/image/imageinlineediting.d.ts +2 -2
- package/{src → dist}/image/imageloadobserver.d.ts +1 -1
- package/{src → dist}/image/imageplaceholder.d.ts +1 -1
- package/{src → dist}/image/imagetypecommand.d.ts +2 -2
- package/{src → dist}/image/insertimagecommand.d.ts +2 -2
- package/{src → dist}/image/replaceimagesourcecommand.d.ts +2 -2
- package/{src → dist}/image/ui/utils.d.ts +2 -2
- package/{src → dist}/image/utils.d.ts +2 -2
- package/{src → dist}/image.d.ts +1 -1
- package/{src → dist}/imageblock.d.ts +2 -2
- package/{src → dist}/imagecaption/imagecaptionediting.d.ts +2 -2
- package/{src → dist}/imagecaption/imagecaptionui.d.ts +1 -1
- package/{src → dist}/imagecaption/imagecaptionutils.d.ts +2 -2
- package/{src → dist}/imagecaption/toggleimagecaptioncommand.d.ts +1 -1
- package/{src → dist}/imagecaption.d.ts +1 -1
- package/{src → dist}/imageconfig.d.ts +25 -16
- package/{src → dist}/imageinline.d.ts +2 -2
- package/{src → dist}/imageinsert/imageinsertui.d.ts +3 -3
- package/{src → dist}/imageinsert/imageinsertviaurlui.d.ts +2 -2
- package/{src → dist}/imageinsert/ui/imageinsertformview.d.ts +2 -2
- package/{src → dist}/imageinsert/ui/imageinserturlview.d.ts +2 -2
- package/{src → dist}/imageinsert.d.ts +1 -1
- package/{src → dist}/imageinsertviaurl.d.ts +1 -1
- package/{src → dist}/imageresize/imagecustomresizeui.d.ts +2 -2
- package/{src → dist}/imageresize/imageresizebuttons.d.ts +1 -1
- package/{src → dist}/imageresize/imageresizeediting.d.ts +1 -1
- package/{src → dist}/imageresize/imageresizehandles.d.ts +2 -2
- package/{src → dist}/imageresize/resizeimagecommand.d.ts +1 -1
- package/{src → dist}/imageresize/ui/imagecustomresizeformview.d.ts +2 -4
- package/{src → dist}/imageresize/utils/getselectedimageeditornodes.d.ts +2 -2
- package/{src → dist}/imageresize/utils/getselectedimagepossibleresizerange.d.ts +1 -1
- package/{src → dist}/imageresize/utils/getselectedimagewidthinunits.d.ts +1 -1
- package/{src → dist}/imageresize.d.ts +1 -1
- package/{src → dist}/imagesizeattributes.d.ts +1 -1
- package/{src → dist}/imagestyle/converters.d.ts +2 -2
- package/{src → dist}/imagestyle/imagestylecommand.d.ts +2 -2
- package/{src → dist}/imagestyle/imagestyleediting.d.ts +1 -1
- package/{src → dist}/imagestyle/imagestyleui.d.ts +1 -1
- package/{src → dist}/imagestyle/utils.d.ts +1 -1
- package/{src → dist}/imagestyle.d.ts +1 -1
- package/{src → dist}/imagetextalternative/imagetextalternativecommand.d.ts +1 -1
- package/{src → dist}/imagetextalternative/imagetextalternativeediting.d.ts +1 -1
- package/{src → dist}/imagetextalternative/imagetextalternativeui.d.ts +2 -2
- package/{src → dist}/imagetextalternative/ui/textalternativeformview.d.ts +2 -4
- package/{src → dist}/imagetextalternative.d.ts +1 -1
- package/{src → dist}/imagetoolbar.d.ts +2 -2
- package/{src → dist}/imageupload/imageuploadediting.d.ts +5 -5
- package/{src → dist}/imageupload/imageuploadprogress.d.ts +1 -1
- package/{src → dist}/imageupload/imageuploadui.d.ts +1 -1
- package/{src → dist}/imageupload/uploadimagecommand.d.ts +2 -2
- package/{src → dist}/imageupload/utils.d.ts +1 -1
- package/{src → dist}/imageupload.d.ts +1 -1
- package/{src → dist}/imageutils.d.ts +2 -2
- package/dist/index-content.css +97 -100
- package/dist/index-editor.css +313 -190
- package/dist/index.css +388 -458
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/{src → dist}/pictureediting.d.ts +1 -1
- package/package.json +29 -53
- package/build/image.js +0 -5
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -48
- package/lang/translations/af.po +0 -196
- package/lang/translations/ar.po +0 -196
- package/lang/translations/ast.po +0 -196
- package/lang/translations/az.po +0 -196
- package/lang/translations/be.po +0 -196
- package/lang/translations/bg.po +0 -196
- package/lang/translations/bn.po +0 -196
- package/lang/translations/bs.po +0 -196
- package/lang/translations/ca.po +0 -196
- package/lang/translations/cs.po +0 -196
- package/lang/translations/da.po +0 -196
- package/lang/translations/de-ch.po +0 -196
- package/lang/translations/de.po +0 -196
- package/lang/translations/el.po +0 -196
- package/lang/translations/en-au.po +0 -196
- package/lang/translations/en-gb.po +0 -196
- package/lang/translations/en.po +0 -196
- package/lang/translations/eo.po +0 -196
- package/lang/translations/es-co.po +0 -196
- package/lang/translations/es.po +0 -196
- package/lang/translations/et.po +0 -196
- package/lang/translations/eu.po +0 -196
- package/lang/translations/fa.po +0 -196
- package/lang/translations/fi.po +0 -196
- package/lang/translations/fr.po +0 -196
- package/lang/translations/gl.po +0 -196
- package/lang/translations/gu.po +0 -196
- package/lang/translations/he.po +0 -196
- package/lang/translations/hi.po +0 -196
- package/lang/translations/hr.po +0 -196
- package/lang/translations/hu.po +0 -196
- package/lang/translations/hy.po +0 -196
- package/lang/translations/id.po +0 -196
- package/lang/translations/it.po +0 -196
- package/lang/translations/ja.po +0 -196
- package/lang/translations/jv.po +0 -196
- package/lang/translations/kk.po +0 -196
- package/lang/translations/km.po +0 -196
- package/lang/translations/kn.po +0 -196
- package/lang/translations/ko.po +0 -196
- package/lang/translations/ku.po +0 -196
- package/lang/translations/lt.po +0 -196
- package/lang/translations/lv.po +0 -196
- package/lang/translations/ms.po +0 -196
- package/lang/translations/nb.po +0 -196
- package/lang/translations/ne.po +0 -196
- package/lang/translations/nl.po +0 -196
- package/lang/translations/no.po +0 -196
- package/lang/translations/oc.po +0 -196
- package/lang/translations/pl.po +0 -196
- package/lang/translations/pt-br.po +0 -196
- package/lang/translations/pt.po +0 -196
- package/lang/translations/ro.po +0 -196
- package/lang/translations/ru.po +0 -196
- package/lang/translations/si.po +0 -196
- package/lang/translations/sk.po +0 -196
- package/lang/translations/sl.po +0 -196
- package/lang/translations/sq.po +0 -196
- package/lang/translations/sr-latn.po +0 -196
- package/lang/translations/sr.po +0 -196
- package/lang/translations/sv.po +0 -196
- package/lang/translations/th.po +0 -196
- package/lang/translations/ti.po +0 -196
- package/lang/translations/tk.po +0 -196
- package/lang/translations/tr.po +0 -196
- package/lang/translations/tt.po +0 -196
- package/lang/translations/ug.po +0 -196
- package/lang/translations/uk.po +0 -196
- package/lang/translations/ur.po +0 -196
- package/lang/translations/uz.po +0 -196
- package/lang/translations/vi.po +0 -196
- package/lang/translations/zh-cn.po +0 -196
- package/lang/translations/zh.po +0 -196
- package/src/augmentation.js +0 -5
- package/src/autoimage.js +0 -148
- package/src/image/converters.js +0 -236
- package/src/image/imageblockediting.js +0 -159
- package/src/image/imageediting.js +0 -69
- package/src/image/imageinlineediting.js +0 -178
- package/src/image/imageloadobserver.js +0 -52
- package/src/image/imageplaceholder.js +0 -119
- package/src/image/imagetypecommand.js +0 -84
- package/src/image/insertimagecommand.js +0 -125
- package/src/image/replaceimagesourcecommand.js +0 -75
- package/src/image/ui/utils.js +0 -46
- package/src/image/utils.js +0 -125
- package/src/image.js +0 -44
- package/src/imageblock.js +0 -44
- package/src/imagecaption/imagecaptionediting.js +0 -238
- package/src/imagecaption/imagecaptionui.js +0 -68
- package/src/imagecaption/imagecaptionutils.js +0 -68
- package/src/imagecaption/toggleimagecaptioncommand.js +0 -138
- package/src/imagecaption.js +0 -36
- package/src/imageconfig.js +0 -5
- package/src/imageinline.js +0 -44
- package/src/imageinsert/imageinsertui.js +0 -216
- package/src/imageinsert/imageinsertviaurlui.js +0 -175
- package/src/imageinsert/ui/imageinsertformview.js +0 -117
- package/src/imageinsert/ui/imageinserturlview.js +0 -102
- package/src/imageinsert.js +0 -43
- package/src/imageinsertviaurl.js +0 -41
- package/src/imageresize/imagecustomresizeui.js +0 -177
- package/src/imageresize/imageresizebuttons.js +0 -303
- package/src/imageresize/imageresizeediting.js +0 -206
- package/src/imageresize/imageresizehandles.js +0 -118
- package/src/imageresize/resizeimagecommand.js +0 -63
- package/src/imageresize/ui/imagecustomresizeformview.js +0 -264
- package/src/imageresize/utils/getselectedimageeditornodes.js +0 -25
- package/src/imageresize/utils/getselectedimagepossibleresizerange.js +0 -33
- package/src/imageresize/utils/getselectedimagewidthinunits.js +0 -42
- package/src/imageresize/utils/tryparsedimensionwithunit.js +0 -58
- package/src/imageresize.js +0 -38
- package/src/imagesizeattributes.js +0 -163
- package/src/imagestyle/converters.js +0 -118
- package/src/imagestyle/imagestylecommand.js +0 -117
- package/src/imagestyle/imagestyleediting.js +0 -127
- package/src/imagestyle/imagestyleui.js +0 -198
- package/src/imagestyle/utils.js +0 -333
- package/src/imagestyle.js +0 -42
- package/src/imagetextalternative/imagetextalternativecommand.js +0 -44
- package/src/imagetextalternative/imagetextalternativeediting.js +0 -41
- package/src/imagetextalternative/imagetextalternativeui.js +0 -183
- package/src/imagetextalternative/ui/textalternativeformview.js +0 -193
- package/src/imagetextalternative.js +0 -39
- package/src/imagetoolbar.js +0 -63
- package/src/imageupload/imageuploadediting.js +0 -482
- package/src/imageupload/imageuploadprogress.js +0 -222
- package/src/imageupload/imageuploadui.js +0 -135
- package/src/imageupload/uploadimagecommand.js +0 -110
- package/src/imageupload/utils.js +0 -114
- package/src/imageupload.js +0 -42
- package/src/imageutils.js +0 -309
- package/src/index.js +0 -67
- package/src/pictureediting.js +0 -136
- package/theme/image.css +0 -143
- package/theme/imagecaption.css +0 -53
- package/theme/imagecustomresizeform.css +0 -4
- package/theme/imageinsert.css +0 -14
- package/theme/imageplaceholder.css +0 -10
- package/theme/imageresize.css +0 -53
- package/theme/imagestyle.css +0 -120
- package/theme/imageuploadicon.css +0 -23
- package/theme/imageuploadloader.css +0 -18
- package/theme/imageuploadprogress.css +0 -19
- package/theme/textalternativeform.css +0 -4
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/imageresize/utils/tryparsedimensionwithunit.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
package/dist/index.css
CHANGED
|
@@ -2,591 +2,521 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
/*
|
|
6
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
/*
|
|
11
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
12
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
5
|
:root {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
--ck-content-color-image-caption-background: #f7f7f7;
|
|
7
|
+
--ck-content-color-image-caption-text: #333;
|
|
8
|
+
--ck-color-image-caption-highlighted-background: #fd0;
|
|
19
9
|
}
|
|
20
10
|
|
|
21
|
-
/* Content styles */
|
|
22
11
|
.ck-content .image > figcaption {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
/* Improve placeholder rendering in high-constrast mode (https://github.com/ckeditor/ckeditor5/issues/14907). */
|
|
12
|
+
caption-side: bottom;
|
|
13
|
+
word-break: normal;
|
|
14
|
+
overflow-wrap: anywhere;
|
|
15
|
+
break-before: avoid;
|
|
16
|
+
color: var(--ck-content-color-image-caption-text);
|
|
17
|
+
background-color: var(--ck-content-color-image-caption-background);
|
|
18
|
+
outline-offset: -1px;
|
|
19
|
+
padding: .6em;
|
|
20
|
+
font-size: .75em;
|
|
21
|
+
display: table-caption;
|
|
35
22
|
}
|
|
23
|
+
|
|
36
24
|
@media (forced-colors: active) {
|
|
37
|
-
.ck-content .image > figcaption {
|
|
38
|
-
|
|
39
|
-
|
|
25
|
+
.ck-content .image > figcaption {
|
|
26
|
+
background-color: unset;
|
|
27
|
+
color: unset;
|
|
28
|
+
}
|
|
40
29
|
}
|
|
41
|
-
}
|
|
42
30
|
|
|
43
|
-
/* Editing styles */
|
|
44
31
|
@media (forced-colors: none) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
32
|
+
.ck.ck-editor__editable .image > figcaption.image__caption_highlighted {
|
|
33
|
+
animation: .6s ease-out ck-image-caption-highlight;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
49
37
|
@media (prefers-reduced-motion: reduce) {
|
|
50
|
-
.ck.ck-editor__editable .image > figcaption.image__caption_highlighted {
|
|
51
|
-
|
|
38
|
+
.ck.ck-editor__editable .image > figcaption.image__caption_highlighted {
|
|
39
|
+
animation: none;
|
|
40
|
+
}
|
|
52
41
|
}
|
|
53
|
-
}
|
|
54
42
|
|
|
55
43
|
@keyframes ck-image-caption-highlight {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
44
|
+
0% {
|
|
45
|
+
background-color: var(--ck-color-image-caption-highlighted-background);
|
|
46
|
+
}
|
|
59
47
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
48
|
+
100% {
|
|
49
|
+
background-color: var(--ck-content-color-image-caption-background);
|
|
50
|
+
}
|
|
63
51
|
}
|
|
64
52
|
|
|
65
|
-
/*
|
|
66
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
67
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
68
|
-
*/
|
|
69
|
-
|
|
70
|
-
/* Preserve aspect ratio of the resized image after introducing image height attribute. */
|
|
71
53
|
.ck-content img.image_resized {
|
|
72
|
-
|
|
54
|
+
height: auto;
|
|
73
55
|
}
|
|
74
56
|
|
|
75
57
|
.ck-content .image.image_resized {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
See https://stackoverflow.com/questions/4019604/chrome-safari-ignoring-max-width-in-table/14420691#14420691 for more.
|
|
80
|
-
Fortunately, since we control the width, there is no risk that the image will look bad.
|
|
81
|
-
*/
|
|
82
|
-
display: block;
|
|
83
|
-
box-sizing: border-box;
|
|
58
|
+
box-sizing: border-box;
|
|
59
|
+
max-width: 100%;
|
|
60
|
+
display: block;
|
|
84
61
|
}
|
|
85
62
|
|
|
86
63
|
.ck-content .image.image_resized img {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
64
|
+
width: 100%;
|
|
65
|
+
}
|
|
90
66
|
|
|
91
67
|
.ck-content .image.image_resized > figcaption {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/* The resized inline image nested in the table should respect its parent size.
|
|
97
|
-
See https://github.com/ckeditor/ckeditor5/issues/9117. */
|
|
68
|
+
display: block;
|
|
69
|
+
}
|
|
98
70
|
|
|
99
|
-
.ck.ck-editor__editable td
|
|
100
|
-
|
|
101
|
-
|
|
71
|
+
:is(.ck.ck-editor__editable td, .ck.ck-editor__editable th) .image-inline.image_resized img {
|
|
72
|
+
max-width: 100%;
|
|
73
|
+
}
|
|
102
74
|
|
|
103
75
|
[dir="ltr"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {
|
|
104
|
-
|
|
76
|
+
margin-right: var(--ck-spacing-standard);
|
|
105
77
|
}
|
|
106
78
|
|
|
107
79
|
[dir="rtl"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {
|
|
108
|
-
|
|
80
|
+
margin-left: var(--ck-spacing-standard);
|
|
109
81
|
}
|
|
110
82
|
|
|
111
83
|
.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label {
|
|
112
|
-
|
|
84
|
+
width: 4em;
|
|
113
85
|
}
|
|
114
86
|
|
|
115
|
-
/*
|
|
116
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
117
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
118
|
-
*/
|
|
119
|
-
|
|
120
87
|
:root {
|
|
121
|
-
|
|
122
|
-
|
|
88
|
+
--ck-content-image-style-spacing: 1.5em;
|
|
89
|
+
--ck-content-inline-image-style-spacing: calc(var(--ck-content-image-style-spacing) / 2);
|
|
123
90
|
}
|
|
124
91
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
confirming successful application of the style if image width exceeds the editor's size.
|
|
129
|
-
See https://github.com/ckeditor/ckeditor5/issues/9342 */
|
|
130
|
-
|
|
131
|
-
.ck-content .image.image-style-block-align-left,
|
|
132
|
-
.ck-content .image.image-style-block-align-right {
|
|
133
|
-
max-width: calc(100% - var(--ck-content-image-style-spacing));
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/* Allows displaying multiple floating images in the same line.
|
|
137
|
-
See https://github.com/ckeditor/ckeditor5/issues/9183#issuecomment-804988132 */
|
|
92
|
+
.ck-content .image.image-style-block-align-left, .ck-content .image.image-style-block-align-right {
|
|
93
|
+
max-width: calc(100% - var(--ck-content-image-style-spacing));
|
|
94
|
+
}
|
|
138
95
|
|
|
139
|
-
.ck-content .image.image-style-align-left,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}
|
|
96
|
+
.ck-content .image.image-style-align-left, .ck-content .image.image-style-align-right {
|
|
97
|
+
clear: none;
|
|
98
|
+
}
|
|
143
99
|
|
|
144
100
|
.ck-content .image.image-style-side {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
101
|
+
float: right;
|
|
102
|
+
margin-left: var(--ck-content-image-style-spacing);
|
|
103
|
+
max-width: 50%;
|
|
104
|
+
}
|
|
149
105
|
|
|
150
106
|
.ck-content .image.image-style-align-left {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
107
|
+
float: left;
|
|
108
|
+
margin-right: var(--ck-content-image-style-spacing);
|
|
109
|
+
}
|
|
154
110
|
|
|
155
111
|
.ck-content .image.image-style-align-right {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
112
|
+
float: right;
|
|
113
|
+
margin-left: var(--ck-content-image-style-spacing);
|
|
114
|
+
}
|
|
159
115
|
|
|
160
116
|
.ck-content .image.image-style-block-align-right {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
117
|
+
margin-left: auto;
|
|
118
|
+
margin-right: 0;
|
|
119
|
+
}
|
|
164
120
|
|
|
165
121
|
.ck-content .image.image-style-block-align-left {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
122
|
+
margin-left: 0;
|
|
123
|
+
margin-right: auto;
|
|
124
|
+
}
|
|
169
125
|
|
|
170
126
|
.ck-content .image-style-align-center {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
127
|
+
margin-left: auto;
|
|
128
|
+
margin-right: auto;
|
|
129
|
+
}
|
|
174
130
|
|
|
175
131
|
.ck-content .image-style-align-left {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
132
|
+
float: left;
|
|
133
|
+
margin-right: var(--ck-content-image-style-spacing);
|
|
134
|
+
}
|
|
179
135
|
|
|
180
136
|
.ck-content .image-style-align-right {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
/* Simulates margin collapsing with the preceding paragraph, which does not work for the floating elements. */
|
|
137
|
+
float: right;
|
|
138
|
+
margin-left: var(--ck-content-image-style-spacing);
|
|
139
|
+
}
|
|
186
140
|
|
|
187
|
-
.ck-content p + .image.image-style-align-left,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
margin-top: 0;
|
|
191
|
-
}
|
|
141
|
+
.ck-content p + .image.image-style-align-left, .ck-content p + .image.image-style-align-right, .ck-content p + .image.image-style-side {
|
|
142
|
+
margin-top: 0;
|
|
143
|
+
}
|
|
192
144
|
|
|
193
|
-
.ck-content .image-inline.image-style-align-left,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
}
|
|
145
|
+
.ck-content .image-inline.image-style-align-left, .ck-content .image-inline.image-style-align-right {
|
|
146
|
+
margin-top: var(--ck-content-inline-image-style-spacing);
|
|
147
|
+
margin-bottom: var(--ck-content-inline-image-style-spacing);
|
|
148
|
+
}
|
|
198
149
|
|
|
199
150
|
.ck-content .image-inline.image-style-align-left {
|
|
200
|
-
|
|
201
|
-
|
|
151
|
+
margin-right: var(--ck-content-inline-image-style-spacing);
|
|
152
|
+
}
|
|
202
153
|
|
|
203
154
|
.ck-content .image-inline.image-style-align-right {
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
/* The button should display as a regular drop-down if the action button
|
|
208
|
-
is forced to fire the same action as the arrow button. */
|
|
209
|
-
|
|
210
|
-
.ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__action:not(.ck-disabled),
|
|
211
|
-
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__action:not(.ck-disabled),
|
|
212
|
-
.ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__arrow:not(.ck-disabled),
|
|
213
|
-
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__arrow:not(.ck-disabled),
|
|
214
|
-
.ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover),
|
|
215
|
-
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {
|
|
216
|
-
background-color: var(--ck-color-button-on-background);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__action:not(.ck-disabled)::after, .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__action:not(.ck-disabled)::after, .ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__arrow:not(.ck-disabled)::after, .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__arrow:not(.ck-disabled)::after, .ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover)::after, .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover)::after {
|
|
220
|
-
display: none;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover > .ck-splitbutton__action:not(.ck-disabled),
|
|
224
|
-
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover > .ck-splitbutton__arrow:not(.ck-disabled),
|
|
225
|
-
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {
|
|
226
|
-
background-color: var(--ck-color-button-on-hover-background);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/*
|
|
230
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
231
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
232
|
-
*/
|
|
233
|
-
|
|
234
|
-
.ck.ck-editor__editable .image,
|
|
235
|
-
.ck.ck-editor__editable .image-inline {
|
|
236
|
-
position: relative;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
/* Upload progress bar. */
|
|
155
|
+
margin-left: var(--ck-content-inline-image-style-spacing);
|
|
156
|
+
}
|
|
240
157
|
|
|
241
|
-
.ck.ck-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
top: 0;
|
|
245
|
-
left: 0;
|
|
246
|
-
}
|
|
158
|
+
:is(.ck.ck-splitbutton.ck-splitbutton_flatten:hover, .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open) > .ck-splitbutton__action:not(.ck-disabled), :is(.ck.ck-splitbutton.ck-splitbutton_flatten:hover, .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open) > .ck-splitbutton__arrow:not(.ck-disabled), :is(.ck.ck-splitbutton.ck-splitbutton_flatten:hover, .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open) > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {
|
|
159
|
+
background-color: var(--ck-color-button-on-background);
|
|
160
|
+
}
|
|
247
161
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
*/
|
|
162
|
+
:is(:is(.ck.ck-splitbutton.ck-splitbutton_flatten:hover, .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open) > .ck-splitbutton__action:not(.ck-disabled), :is(.ck.ck-splitbutton.ck-splitbutton_flatten:hover, .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open) > .ck-splitbutton__arrow:not(.ck-disabled), :is(.ck.ck-splitbutton.ck-splitbutton_flatten:hover, .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open) > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover)):after {
|
|
163
|
+
display: none;
|
|
164
|
+
}
|
|
252
165
|
|
|
253
|
-
.ck-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
/*
|
|
258
|
-
* Smaller images should have the icon closer to the border.
|
|
259
|
-
* Match the icon position with the linked image indicator brought by the link image feature.
|
|
260
|
-
*/
|
|
261
|
-
top: min(var(--ck-spacing-medium), 6%);
|
|
262
|
-
right: min(var(--ck-spacing-medium), 6%);
|
|
263
|
-
border-radius: 50%;
|
|
264
|
-
z-index: 1;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.ck-image-upload-complete-icon::after {
|
|
268
|
-
content: "";
|
|
269
|
-
position: absolute;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
/*
|
|
273
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
274
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
275
|
-
*/
|
|
166
|
+
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover > .ck-splitbutton__action:not(.ck-disabled), .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover > .ck-splitbutton__arrow:not(.ck-disabled), .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {
|
|
167
|
+
background-color: var(--ck-color-button-on-hover-background);
|
|
168
|
+
}
|
|
276
169
|
|
|
277
|
-
.ck .ck-
|
|
278
|
-
|
|
279
|
-
display: flex;
|
|
280
|
-
align-items: center;
|
|
281
|
-
justify-content: center;
|
|
282
|
-
top: 0;
|
|
283
|
-
left: 0;
|
|
170
|
+
:is(.ck.ck-editor__editable .image, .ck.ck-editor__editable .image-inline).ck-appear {
|
|
171
|
+
animation: .7s fadeIn;
|
|
284
172
|
}
|
|
285
173
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
174
|
+
@media (prefers-reduced-motion: reduce) {
|
|
175
|
+
:is(.ck.ck-editor__editable .image, .ck.ck-editor__editable .image-inline).ck-appear {
|
|
176
|
+
opacity: 1;
|
|
177
|
+
animation: none;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
290
180
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
*/
|
|
181
|
+
.ck.ck-editor__editable .image, .ck.ck-editor__editable .image-inline {
|
|
182
|
+
position: relative;
|
|
183
|
+
}
|
|
295
184
|
|
|
296
|
-
.ck-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
185
|
+
.ck.ck-editor__editable .image .ck-progress-bar, .ck.ck-editor__editable .image-inline .ck-progress-bar {
|
|
186
|
+
background: var(--ck-color-upload-bar-background);
|
|
187
|
+
width: 0;
|
|
188
|
+
height: 2px;
|
|
189
|
+
transition: width .1s;
|
|
190
|
+
position: absolute;
|
|
191
|
+
top: 0;
|
|
192
|
+
left: 0;
|
|
193
|
+
}
|
|
300
194
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
195
|
+
@keyframes fadeIn {
|
|
196
|
+
from {
|
|
197
|
+
opacity: 0;
|
|
198
|
+
}
|
|
305
199
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
200
|
+
to {
|
|
201
|
+
opacity: 1;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
309
204
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
205
|
+
:root {
|
|
206
|
+
--ck-color-image-upload-icon: #fff;
|
|
207
|
+
--ck-color-image-upload-icon-background: #008a00;
|
|
208
|
+
--ck-image-upload-icon-size: 20;
|
|
209
|
+
--ck-image-upload-icon-width: 2px;
|
|
210
|
+
--ck-image-upload-icon-is-visible: clamp(0px, 100% - 50px, 1px);
|
|
211
|
+
}
|
|
313
212
|
|
|
314
|
-
|
|
315
|
-
|
|
213
|
+
.ck-image-upload-complete-icon {
|
|
214
|
+
opacity: 0;
|
|
215
|
+
background: var(--ck-color-image-upload-icon-background);
|
|
216
|
+
font-size: calc(1px * var(--ck-image-upload-icon-size));
|
|
217
|
+
width: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));
|
|
218
|
+
height: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));
|
|
219
|
+
top: min(var(--ck-spacing-medium), 6%);
|
|
220
|
+
right: min(var(--ck-spacing-medium), 6%);
|
|
221
|
+
border-radius: 50%;
|
|
222
|
+
animation-name: ck-upload-complete-icon-show, ck-upload-complete-icon-hide;
|
|
223
|
+
animation-duration: .5s, .5s;
|
|
224
|
+
animation-delay: 0s, 3s;
|
|
225
|
+
animation-fill-mode: forwards, forwards;
|
|
226
|
+
display: block;
|
|
227
|
+
position: absolute;
|
|
228
|
+
overflow: hidden;
|
|
229
|
+
}
|
|
316
230
|
|
|
317
|
-
|
|
318
|
-
|
|
231
|
+
.ck-image-upload-complete-icon:after {
|
|
232
|
+
opacity: 0;
|
|
233
|
+
transform-origin: 0 0;
|
|
234
|
+
border-top: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);
|
|
235
|
+
border-right: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);
|
|
236
|
+
box-sizing: border-box;
|
|
237
|
+
content: "";
|
|
238
|
+
width: 0;
|
|
239
|
+
height: 0;
|
|
240
|
+
animation-name: ck-upload-complete-icon-check;
|
|
241
|
+
animation-duration: .5s;
|
|
242
|
+
animation-delay: .5s;
|
|
243
|
+
animation-fill-mode: forwards;
|
|
244
|
+
position: absolute;
|
|
245
|
+
top: 50%;
|
|
246
|
+
left: 25%;
|
|
247
|
+
transform: scaleX(-1) rotate(135deg);
|
|
248
|
+
}
|
|
319
249
|
|
|
320
|
-
|
|
321
|
-
|
|
250
|
+
@media (prefers-reduced-motion: reduce) {
|
|
251
|
+
.ck-image-upload-complete-icon {
|
|
252
|
+
animation-duration: 0s;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.ck-image-upload-complete-icon:after {
|
|
256
|
+
opacity: 1;
|
|
257
|
+
width: .3em;
|
|
258
|
+
height: .45em;
|
|
259
|
+
animation: none;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
322
262
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
}
|
|
263
|
+
.ck-image-upload-complete-icon {
|
|
264
|
+
z-index: 1;
|
|
265
|
+
}
|
|
327
266
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
* This strange behavior does not happen with inline-flex.
|
|
333
|
-
*/
|
|
334
|
-
display: inline-flex;
|
|
267
|
+
@keyframes ck-upload-complete-icon-show {
|
|
268
|
+
from {
|
|
269
|
+
opacity: 0;
|
|
270
|
+
}
|
|
335
271
|
|
|
336
|
-
|
|
337
|
-
|
|
272
|
+
to {
|
|
273
|
+
opacity: 1;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
338
276
|
|
|
339
|
-
|
|
340
|
-
|
|
277
|
+
@keyframes ck-upload-complete-icon-hide {
|
|
278
|
+
from {
|
|
279
|
+
opacity: 1;
|
|
280
|
+
}
|
|
341
281
|
|
|
342
|
-
|
|
343
|
-
|
|
282
|
+
to {
|
|
283
|
+
opacity: 0;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
344
286
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
* of `.image` (e.g. to the left/right). This ensures the placeholder stays at the padding just like the native
|
|
364
|
-
* caret does, and not at the edge of <figcaption>.
|
|
365
|
-
*/
|
|
366
|
-
|
|
367
|
-
.ck.ck-editor__editable .image > figcaption.ck-placeholder::before {
|
|
368
|
-
padding-left: inherit;
|
|
369
|
-
padding-right: inherit;
|
|
370
|
-
|
|
371
|
-
/*
|
|
372
|
-
* Make sure the image caption placeholder doesn't overflow the placeholder area.
|
|
373
|
-
* See https://github.com/ckeditor/ckeditor5/issues/9162.
|
|
374
|
-
*/
|
|
375
|
-
white-space: nowrap;
|
|
376
|
-
overflow: hidden;
|
|
377
|
-
text-overflow: ellipsis;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
/*
|
|
381
|
-
* See https://github.com/ckeditor/ckeditor5/issues/15115.
|
|
382
|
-
*/
|
|
287
|
+
@keyframes ck-upload-complete-icon-check {
|
|
288
|
+
0% {
|
|
289
|
+
opacity: 1;
|
|
290
|
+
width: 0;
|
|
291
|
+
height: 0;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
33% {
|
|
295
|
+
width: .3em;
|
|
296
|
+
height: 0;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
100% {
|
|
300
|
+
opacity: 1;
|
|
301
|
+
width: .3em;
|
|
302
|
+
height: .45em;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
383
305
|
|
|
384
|
-
|
|
385
|
-
|
|
306
|
+
:root {
|
|
307
|
+
--ck-color-upload-placeholder-loader: #b3b3b3;
|
|
308
|
+
--ck-upload-placeholder-loader-size: 32px;
|
|
309
|
+
--ck-upload-placeholder-image-aspect-ratio: 2.8;
|
|
310
|
+
}
|
|
386
311
|
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
}
|
|
312
|
+
.ck .ck-image-upload-placeholder {
|
|
313
|
+
width: 100%;
|
|
314
|
+
margin: 0;
|
|
315
|
+
}
|
|
392
316
|
|
|
393
|
-
.ck.ck-
|
|
394
|
-
|
|
395
|
-
|
|
317
|
+
.ck .ck-image-upload-placeholder.image-inline {
|
|
318
|
+
width: calc(2 * var(--ck-upload-placeholder-loader-size) * var(--ck-upload-placeholder-image-aspect-ratio));
|
|
319
|
+
}
|
|
396
320
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
321
|
+
.ck .ck-image-upload-placeholder img {
|
|
322
|
+
aspect-ratio: var(--ck-upload-placeholder-image-aspect-ratio);
|
|
323
|
+
}
|
|
400
324
|
|
|
401
|
-
.ck.ck-
|
|
402
|
-
|
|
325
|
+
.ck .ck-upload-placeholder-loader {
|
|
326
|
+
justify-content: center;
|
|
327
|
+
align-items: center;
|
|
328
|
+
width: 100%;
|
|
329
|
+
height: 100%;
|
|
330
|
+
display: flex;
|
|
331
|
+
position: absolute;
|
|
332
|
+
top: 0;
|
|
333
|
+
}
|
|
403
334
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
335
|
+
.ck .ck-upload-placeholder-loader:before {
|
|
336
|
+
width: var(--ck-upload-placeholder-loader-size);
|
|
337
|
+
height: var(--ck-upload-placeholder-loader-size);
|
|
338
|
+
border-top: 3px solid var(--ck-color-upload-placeholder-loader);
|
|
339
|
+
content: "";
|
|
340
|
+
border-right: 2px solid #0000;
|
|
341
|
+
border-radius: 50%;
|
|
342
|
+
animation: 1s linear infinite ck-upload-placeholder-loader;
|
|
343
|
+
position: relative;
|
|
344
|
+
}
|
|
409
345
|
|
|
410
|
-
.ck.ck-
|
|
411
|
-
|
|
346
|
+
.ck .ck-upload-placeholder-loader {
|
|
347
|
+
left: 0;
|
|
348
|
+
}
|
|
412
349
|
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
}
|
|
350
|
+
@keyframes ck-upload-placeholder-loader {
|
|
351
|
+
to {
|
|
352
|
+
transform: rotate(360deg);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
419
355
|
|
|
420
|
-
.ck
|
|
421
|
-
|
|
422
|
-
|
|
356
|
+
.ck-content .image {
|
|
357
|
+
clear: both;
|
|
358
|
+
text-align: center;
|
|
359
|
+
min-width: 50px;
|
|
360
|
+
margin: .9em auto;
|
|
361
|
+
display: table;
|
|
362
|
+
}
|
|
423
363
|
|
|
424
|
-
|
|
425
|
-
|
|
364
|
+
.ck-content .image img {
|
|
365
|
+
min-width: 100%;
|
|
366
|
+
max-width: 100%;
|
|
367
|
+
height: auto;
|
|
368
|
+
margin: 0 auto;
|
|
369
|
+
display: block;
|
|
370
|
+
}
|
|
426
371
|
|
|
427
|
-
.ck
|
|
428
|
-
|
|
429
|
-
|
|
372
|
+
.ck-content .image-inline {
|
|
373
|
+
align-items: flex-start;
|
|
374
|
+
max-width: 100%;
|
|
375
|
+
display: inline-flex;
|
|
376
|
+
}
|
|
430
377
|
|
|
431
|
-
|
|
432
|
-
|
|
378
|
+
.ck-content .image-inline picture {
|
|
379
|
+
display: flex;
|
|
380
|
+
}
|
|
433
381
|
|
|
434
|
-
.ck
|
|
435
|
-
|
|
436
|
-
|
|
382
|
+
.ck-content .image-inline picture, .ck-content .image-inline img {
|
|
383
|
+
flex-grow: 1;
|
|
384
|
+
flex-shrink: 1;
|
|
385
|
+
max-width: 100%;
|
|
386
|
+
}
|
|
437
387
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
388
|
+
.ck.ck-editor__editable .image > figcaption.ck-placeholder:before {
|
|
389
|
+
padding-left: inherit;
|
|
390
|
+
padding-right: inherit;
|
|
391
|
+
white-space: nowrap;
|
|
392
|
+
text-overflow: ellipsis;
|
|
393
|
+
overflow: hidden;
|
|
394
|
+
}
|
|
442
395
|
|
|
443
|
-
.ck.ck-editor__editable
|
|
444
|
-
|
|
445
|
-
|
|
396
|
+
.ck.ck-editor__editable .image {
|
|
397
|
+
z-index: 1;
|
|
398
|
+
}
|
|
446
399
|
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
*/
|
|
400
|
+
.ck.ck-editor__editable .image.ck-widget_selected {
|
|
401
|
+
z-index: 2;
|
|
402
|
+
}
|
|
451
403
|
|
|
452
|
-
.ck.ck-image-
|
|
453
|
-
|
|
454
|
-
padding: var(--ck-spacing-large) var(--ck-spacing-large) 0;
|
|
404
|
+
.ck.ck-editor__editable .image-inline {
|
|
405
|
+
z-index: 1;
|
|
455
406
|
}
|
|
456
407
|
|
|
457
|
-
.ck.ck-image-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
}
|
|
408
|
+
.ck.ck-editor__editable .image-inline.ck-widget_selected {
|
|
409
|
+
z-index: 2;
|
|
410
|
+
}
|
|
461
411
|
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
*/
|
|
412
|
+
.ck.ck-editor__editable .image-inline.ck-widget_selected ::selection {
|
|
413
|
+
display: none;
|
|
414
|
+
}
|
|
466
415
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
*/
|
|
416
|
+
.ck.ck-editor__editable .image-inline img {
|
|
417
|
+
height: auto;
|
|
418
|
+
}
|
|
471
419
|
|
|
472
|
-
.ck-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
position: absolute;
|
|
476
|
-
right: -1px;
|
|
477
|
-
top: -1px;
|
|
478
|
-
bottom: -1px;
|
|
479
|
-
z-index: 1;
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
.ck-vertical-form .ck-button:focus::after {
|
|
483
|
-
display: none;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
@media screen and (max-width: 600px) {
|
|
487
|
-
.ck.ck-responsive-form .ck-button::after {
|
|
488
|
-
content: "";
|
|
489
|
-
width: 0;
|
|
490
|
-
position: absolute;
|
|
491
|
-
right: -1px;
|
|
492
|
-
top: -1px;
|
|
493
|
-
bottom: -1px;
|
|
494
|
-
z-index: 1;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
.ck.ck-responsive-form .ck-button:focus::after {
|
|
498
|
-
display: none;
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
/*
|
|
503
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
504
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
505
|
-
*/
|
|
420
|
+
:is(.ck.ck-editor__editable td, .ck.ck-editor__editable th) .image-inline img {
|
|
421
|
+
max-width: none;
|
|
422
|
+
}
|
|
506
423
|
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
*/
|
|
511
|
-
/*
|
|
512
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
513
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
514
|
-
*/
|
|
424
|
+
.ck.ck-editor__editable img.image_placeholder {
|
|
425
|
+
background-size: 100% 100%;
|
|
426
|
+
}
|
|
515
427
|
|
|
516
428
|
:root {
|
|
517
|
-
|
|
429
|
+
--ck-image-insert-insert-by-url-width: 250px;
|
|
518
430
|
}
|
|
519
431
|
|
|
520
|
-
.ck.ck-
|
|
521
|
-
|
|
432
|
+
.ck.ck-image-insert-url {
|
|
433
|
+
--ck-input-width: 100%;
|
|
434
|
+
width: 400px;
|
|
522
435
|
}
|
|
523
436
|
|
|
524
|
-
.ck.ck-
|
|
525
|
-
|
|
526
|
-
|
|
437
|
+
.ck.ck-image-insert-url .ck-image-insert-url__action-row {
|
|
438
|
+
grid-column-gap: var(--ck-spacing-large);
|
|
439
|
+
margin-top: var(--ck-spacing-large);
|
|
440
|
+
display: grid;
|
|
441
|
+
}
|
|
527
442
|
|
|
528
|
-
.ck.ck-
|
|
529
|
-
|
|
530
|
-
|
|
443
|
+
.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-save, .ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-cancel {
|
|
444
|
+
justify-content: center;
|
|
445
|
+
min-width: auto;
|
|
446
|
+
}
|
|
531
447
|
|
|
532
|
-
.ck.ck-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
width: 0;
|
|
536
|
-
}
|
|
448
|
+
.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button .ck-button__label {
|
|
449
|
+
color: var(--ck-color-text);
|
|
450
|
+
}
|
|
537
451
|
|
|
538
|
-
.ck.ck-
|
|
539
|
-
|
|
540
|
-
|
|
452
|
+
.ck.ck-image-insert-url .ck-image-insert-url__action-row {
|
|
453
|
+
grid-template-columns: repeat(2, 1fr);
|
|
454
|
+
}
|
|
541
455
|
|
|
542
|
-
.ck.ck-
|
|
543
|
-
|
|
544
|
-
|
|
456
|
+
.ck.ck-image-insert-url {
|
|
457
|
+
padding: var(--ck-spacing-large) var(--ck-spacing-large) 0;
|
|
458
|
+
}
|
|
545
459
|
|
|
546
|
-
.ck.ck-form
|
|
547
|
-
|
|
548
|
-
|
|
460
|
+
.ck.ck-image-insert-form > .ck.ck-button {
|
|
461
|
+
width: 100%;
|
|
462
|
+
display: block;
|
|
463
|
+
}
|
|
549
464
|
|
|
550
|
-
|
|
465
|
+
[dir="ltr"] :is(.ck.ck-image-insert-form > .ck.ck-button) {
|
|
466
|
+
text-align: left;
|
|
467
|
+
}
|
|
551
468
|
|
|
552
|
-
|
|
469
|
+
[dir="rtl"] :is(.ck.ck-image-insert-form > .ck.ck-button) {
|
|
470
|
+
text-align: right;
|
|
471
|
+
}
|
|
553
472
|
|
|
554
|
-
.ck.ck-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
padding: 0;
|
|
558
|
-
}
|
|
559
|
-
}
|
|
473
|
+
.ck.ck-image-insert-form > .ck.ck-collapsible:not(:first-child) {
|
|
474
|
+
border-top: 1px solid var(--ck-color-base-border);
|
|
475
|
+
}
|
|
560
476
|
|
|
561
|
-
|
|
477
|
+
.ck.ck-image-insert-form > .ck.ck-collapsible:not(:last-child) {
|
|
478
|
+
border-bottom: 1px solid var(--ck-color-base-border);
|
|
479
|
+
}
|
|
562
480
|
|
|
563
|
-
.ck.ck-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
}
|
|
481
|
+
.ck.ck-image-insert-form > .ck.ck-collapsible {
|
|
482
|
+
min-width: var(--ck-image-insert-insert-by-url-width);
|
|
483
|
+
}
|
|
567
484
|
|
|
568
|
-
|
|
485
|
+
.ck.ck-image-insert-form > .ck.ck-image-insert-url {
|
|
486
|
+
min-width: var(--ck-image-insert-insert-by-url-width);
|
|
487
|
+
padding: var(--ck-spacing-large);
|
|
488
|
+
}
|
|
569
489
|
|
|
570
|
-
.ck.ck-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
}
|
|
490
|
+
.ck.ck-image-insert-form:focus {
|
|
491
|
+
outline: none;
|
|
492
|
+
}
|
|
574
493
|
|
|
575
|
-
|
|
494
|
+
:root {
|
|
495
|
+
--ck-image-custom-resize-form-width: 340px;
|
|
496
|
+
}
|
|
576
497
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
498
|
+
@media screen and (width <= 600px) {
|
|
499
|
+
:root {
|
|
500
|
+
--ck-image-custom-resize-form-width: 300px;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
581
503
|
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
504
|
+
.ck.ck-image-custom-resize-form.ck-responsive-form {
|
|
505
|
+
width: var(--ck-image-custom-resize-form-width);
|
|
506
|
+
}
|
|
585
507
|
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
508
|
+
:root {
|
|
509
|
+
--ck-text-alternative-form-width: 340px;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
@media screen and (width <= 600px) {
|
|
513
|
+
:root {
|
|
514
|
+
--ck-text-alternative-form-width: 300px;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
589
517
|
|
|
590
|
-
|
|
518
|
+
.ck.ck-text-alternative-form.ck-responsive-form {
|
|
519
|
+
width: var(--ck-text-alternative-form-width);
|
|
520
|
+
}
|
|
591
521
|
|
|
592
522
|
/*# sourceMappingURL=index.css.map */
|