@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-editor.css
CHANGED
|
@@ -3,259 +3,382 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
:root{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
--ck-content-color-image-caption-background:#f7f7f7;
|
|
7
|
+
--ck-content-color-image-caption-text:#333;
|
|
8
|
+
--ck-color-image-caption-highlighted-background:#fd0;
|
|
9
9
|
}
|
|
10
|
+
|
|
10
11
|
@media (forced-colors: none){
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
.ck.ck-editor__editable .image > figcaption.image__caption_highlighted{
|
|
13
|
+
animation:.6s ease-out ck-image-caption-highlight;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
15
17
|
@media (prefers-reduced-motion: reduce){
|
|
16
|
-
.ck.ck-editor__editable .image > figcaption.image__caption_highlighted{
|
|
17
|
-
|
|
18
|
+
.ck.ck-editor__editable .image > figcaption.image__caption_highlighted{
|
|
19
|
+
animation:none;
|
|
20
|
+
}
|
|
18
21
|
}
|
|
19
|
-
}
|
|
20
22
|
|
|
21
23
|
@keyframes ck-image-caption-highlight{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
0%{
|
|
25
|
+
background-color:var(--ck-color-image-caption-highlighted-background);
|
|
26
|
+
}
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
100%{
|
|
29
|
+
background-color:var(--ck-content-color-image-caption-background);
|
|
30
|
+
}
|
|
29
31
|
}
|
|
30
32
|
|
|
31
|
-
.ck.ck-editor__editable td
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
:is(.ck.ck-editor__editable td, .ck.ck-editor__editable th) .image-inline.image_resized img{
|
|
34
|
+
max-width:100%;
|
|
35
|
+
}
|
|
34
36
|
|
|
35
37
|
[dir="ltr"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{
|
|
36
|
-
|
|
38
|
+
margin-right:var(--ck-spacing-standard);
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
[dir="rtl"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{
|
|
40
|
-
|
|
42
|
+
margin-left:var(--ck-spacing-standard);
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label{
|
|
44
|
-
|
|
46
|
+
width:4em;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:root{
|
|
50
|
+
--ck-content-image-style-spacing:1.5em;
|
|
51
|
+
--ck-content-inline-image-style-spacing:calc(var(--ck-content-image-style-spacing) / 2);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
: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){
|
|
55
|
+
background-color:var(--ck-color-button-on-background);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
: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{
|
|
59
|
+
display:none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.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){
|
|
63
|
+
background-color:var(--ck-color-button-on-hover-background);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
:is(.ck.ck-editor__editable .image, .ck.ck-editor__editable .image-inline).ck-appear{
|
|
67
|
+
animation:.7s fadeIn;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@media (prefers-reduced-motion: reduce){
|
|
71
|
+
:is(.ck.ck-editor__editable .image, .ck.ck-editor__editable .image-inline).ck-appear{
|
|
72
|
+
opacity:1;
|
|
73
|
+
animation:none;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ck.ck-editor__editable .image, .ck.ck-editor__editable .image-inline{
|
|
78
|
+
position:relative;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.ck.ck-editor__editable .image .ck-progress-bar, .ck.ck-editor__editable .image-inline .ck-progress-bar{
|
|
82
|
+
background:var(--ck-color-upload-bar-background);
|
|
83
|
+
width:0;
|
|
84
|
+
height:2px;
|
|
85
|
+
transition:width .1s;
|
|
86
|
+
position:absolute;
|
|
87
|
+
top:0;
|
|
88
|
+
left:0;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@keyframes fadeIn{
|
|
92
|
+
from{
|
|
93
|
+
opacity:0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
to{
|
|
97
|
+
opacity:1;
|
|
98
|
+
}
|
|
45
99
|
}
|
|
46
100
|
|
|
47
101
|
:root{
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
102
|
+
--ck-color-image-upload-icon:#fff;
|
|
103
|
+
--ck-color-image-upload-icon-background:#008a00;
|
|
104
|
+
--ck-image-upload-icon-size:20;
|
|
105
|
+
--ck-image-upload-icon-width:2px;
|
|
106
|
+
--ck-image-upload-icon-is-visible:clamp(0px, 100% - 50px, 1px);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.ck-image-upload-complete-icon{
|
|
110
|
+
opacity:0;
|
|
111
|
+
background:var(--ck-color-image-upload-icon-background);
|
|
112
|
+
font-size:calc(1px * var(--ck-image-upload-icon-size));
|
|
113
|
+
width:calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));
|
|
114
|
+
height:calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));
|
|
115
|
+
top:min(var(--ck-spacing-medium), 6%);
|
|
116
|
+
right:min(var(--ck-spacing-medium), 6%);
|
|
117
|
+
border-radius:50%;
|
|
118
|
+
animation-name:ck-upload-complete-icon-show, ck-upload-complete-icon-hide;
|
|
119
|
+
animation-duration:.5s, .5s;
|
|
120
|
+
animation-delay:0s, 3s;
|
|
121
|
+
animation-fill-mode:forwards, forwards;
|
|
122
|
+
display:block;
|
|
123
|
+
position:absolute;
|
|
124
|
+
overflow:hidden;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.ck-image-upload-complete-icon:after{
|
|
128
|
+
opacity:0;
|
|
129
|
+
transform-origin:0 0;
|
|
130
|
+
border-top:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);
|
|
131
|
+
border-right:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);
|
|
132
|
+
box-sizing:border-box;
|
|
133
|
+
content:"";
|
|
134
|
+
width:0;
|
|
135
|
+
height:0;
|
|
136
|
+
animation-name:ck-upload-complete-icon-check;
|
|
137
|
+
animation-duration:.5s;
|
|
138
|
+
animation-delay:.5s;
|
|
139
|
+
animation-fill-mode:forwards;
|
|
140
|
+
position:absolute;
|
|
141
|
+
top:50%;
|
|
142
|
+
left:25%;
|
|
143
|
+
transform:scaleX(-1) rotate(135deg);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@media (prefers-reduced-motion: reduce){
|
|
147
|
+
.ck-image-upload-complete-icon{
|
|
148
|
+
animation-duration:0s;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.ck-image-upload-complete-icon:after{
|
|
152
|
+
opacity:1;
|
|
153
|
+
width:.3em;
|
|
154
|
+
height:.45em;
|
|
155
|
+
animation:none;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
82
158
|
|
|
83
159
|
.ck-image-upload-complete-icon{
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
160
|
+
z-index:1;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@keyframes ck-upload-complete-icon-show{
|
|
164
|
+
from{
|
|
165
|
+
opacity:0;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
to{
|
|
169
|
+
opacity:1;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
@keyframes ck-upload-complete-icon-hide{
|
|
174
|
+
from{
|
|
175
|
+
opacity:1;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
to{
|
|
179
|
+
opacity:0;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
@keyframes ck-upload-complete-icon-check{
|
|
184
|
+
0%{
|
|
185
|
+
opacity:1;
|
|
186
|
+
width:0;
|
|
187
|
+
height:0;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
33%{
|
|
191
|
+
width:.3em;
|
|
192
|
+
height:0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
100%{
|
|
196
|
+
opacity:1;
|
|
197
|
+
width:.3em;
|
|
198
|
+
height:.45em;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
:root{
|
|
203
|
+
--ck-color-upload-placeholder-loader:#b3b3b3;
|
|
204
|
+
--ck-upload-placeholder-loader-size:32px;
|
|
205
|
+
--ck-upload-placeholder-image-aspect-ratio:2.8;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.ck .ck-image-upload-placeholder{
|
|
209
|
+
width:100%;
|
|
210
|
+
margin:0;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.ck .ck-image-upload-placeholder.image-inline{
|
|
214
|
+
width:calc(2 * var(--ck-upload-placeholder-loader-size) * var(--ck-upload-placeholder-image-aspect-ratio));
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.ck .ck-image-upload-placeholder img{
|
|
218
|
+
aspect-ratio:var(--ck-upload-placeholder-image-aspect-ratio);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.ck .ck-upload-placeholder-loader{
|
|
222
|
+
justify-content:center;
|
|
223
|
+
align-items:center;
|
|
224
|
+
width:100%;
|
|
225
|
+
height:100%;
|
|
226
|
+
display:flex;
|
|
227
|
+
position:absolute;
|
|
228
|
+
top:0;
|
|
90
229
|
}
|
|
91
230
|
|
|
92
|
-
.ck-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
231
|
+
.ck .ck-upload-placeholder-loader:before{
|
|
232
|
+
width:var(--ck-upload-placeholder-loader-size);
|
|
233
|
+
height:var(--ck-upload-placeholder-loader-size);
|
|
234
|
+
border-top:3px solid var(--ck-color-upload-placeholder-loader);
|
|
235
|
+
content:"";
|
|
236
|
+
border-right:2px solid #0000;
|
|
237
|
+
border-radius:50%;
|
|
238
|
+
animation:1s linear infinite ck-upload-placeholder-loader;
|
|
239
|
+
position:relative;
|
|
240
|
+
}
|
|
96
241
|
|
|
97
242
|
.ck .ck-upload-placeholder-loader{
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
white-space:nowrap;
|
|
115
|
-
overflow:hidden;
|
|
116
|
-
text-overflow:ellipsis;
|
|
117
|
-
}
|
|
243
|
+
left:0;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
@keyframes ck-upload-placeholder-loader{
|
|
247
|
+
to{
|
|
248
|
+
transform:rotate(360deg);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.ck.ck-editor__editable .image > figcaption.ck-placeholder:before{
|
|
253
|
+
padding-left:inherit;
|
|
254
|
+
padding-right:inherit;
|
|
255
|
+
white-space:nowrap;
|
|
256
|
+
text-overflow:ellipsis;
|
|
257
|
+
overflow:hidden;
|
|
258
|
+
}
|
|
118
259
|
|
|
119
260
|
.ck.ck-editor__editable .image{
|
|
120
|
-
|
|
121
|
-
|
|
261
|
+
z-index:1;
|
|
262
|
+
}
|
|
122
263
|
|
|
123
264
|
.ck.ck-editor__editable .image.ck-widget_selected{
|
|
124
|
-
|
|
125
|
-
|
|
265
|
+
z-index:2;
|
|
266
|
+
}
|
|
126
267
|
|
|
127
268
|
.ck.ck-editor__editable .image-inline{
|
|
128
|
-
|
|
129
|
-
|
|
269
|
+
z-index:1;
|
|
270
|
+
}
|
|
130
271
|
|
|
131
272
|
.ck.ck-editor__editable .image-inline.ck-widget_selected{
|
|
132
|
-
|
|
133
|
-
|
|
273
|
+
z-index:2;
|
|
274
|
+
}
|
|
134
275
|
|
|
135
276
|
.ck.ck-editor__editable .image-inline.ck-widget_selected ::selection{
|
|
136
|
-
|
|
137
|
-
|
|
277
|
+
display:none;
|
|
278
|
+
}
|
|
138
279
|
|
|
139
280
|
.ck.ck-editor__editable .image-inline img{
|
|
140
|
-
|
|
141
|
-
|
|
281
|
+
height:auto;
|
|
282
|
+
}
|
|
142
283
|
|
|
143
|
-
.ck.ck-editor__editable td
|
|
144
|
-
|
|
145
|
-
|
|
284
|
+
:is(.ck.ck-editor__editable td, .ck.ck-editor__editable th) .image-inline img{
|
|
285
|
+
max-width:none;
|
|
286
|
+
}
|
|
146
287
|
|
|
147
288
|
.ck.ck-editor__editable img.image_placeholder{
|
|
148
|
-
|
|
149
|
-
|
|
289
|
+
background-size:100% 100%;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
:root{
|
|
293
|
+
--ck-image-insert-insert-by-url-width:250px;
|
|
294
|
+
}
|
|
150
295
|
|
|
151
296
|
.ck.ck-image-insert-url{
|
|
152
|
-
|
|
153
|
-
|
|
297
|
+
--ck-input-width:100%;
|
|
298
|
+
width:400px;
|
|
154
299
|
}
|
|
155
300
|
|
|
156
301
|
.ck.ck-image-insert-url .ck-image-insert-url__action-row{
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
.ck-vertical-form .ck-button::after{
|
|
162
|
-
content:"";
|
|
163
|
-
width:0;
|
|
164
|
-
position:absolute;
|
|
165
|
-
right:-1px;
|
|
166
|
-
top:-1px;
|
|
167
|
-
bottom:-1px;
|
|
168
|
-
z-index:1;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.ck-vertical-form .ck-button:focus::after{
|
|
172
|
-
display:none;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
@media screen and (max-width: 600px){
|
|
176
|
-
.ck.ck-responsive-form .ck-button::after{
|
|
177
|
-
content:"";
|
|
178
|
-
width:0;
|
|
179
|
-
position:absolute;
|
|
180
|
-
right:-1px;
|
|
181
|
-
top:-1px;
|
|
182
|
-
bottom:-1px;
|
|
183
|
-
z-index:1;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.ck.ck-responsive-form .ck-button:focus::after{
|
|
187
|
-
display:none;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
302
|
+
grid-column-gap:var(--ck-spacing-large);
|
|
303
|
+
margin-top:var(--ck-spacing-large);
|
|
304
|
+
display:grid;
|
|
305
|
+
}
|
|
190
306
|
|
|
191
|
-
|
|
192
|
-
|
|
307
|
+
.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{
|
|
308
|
+
justify-content:center;
|
|
309
|
+
min-width:auto;
|
|
193
310
|
}
|
|
194
311
|
|
|
195
|
-
.ck.ck-
|
|
196
|
-
|
|
312
|
+
.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button .ck-button__label{
|
|
313
|
+
color:var(--ck-color-text);
|
|
197
314
|
}
|
|
198
315
|
|
|
199
|
-
.ck.ck-
|
|
200
|
-
|
|
201
|
-
|
|
316
|
+
.ck.ck-image-insert-url .ck-image-insert-url__action-row{
|
|
317
|
+
grid-template-columns:repeat(2, 1fr);
|
|
318
|
+
}
|
|
202
319
|
|
|
203
|
-
.ck.ck-
|
|
204
|
-
|
|
205
|
-
|
|
320
|
+
.ck.ck-image-insert-url{
|
|
321
|
+
padding:var(--ck-spacing-large) var(--ck-spacing-large) 0;
|
|
322
|
+
}
|
|
206
323
|
|
|
207
|
-
.ck.ck-form .ck.ck-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
}
|
|
324
|
+
.ck.ck-image-insert-form > .ck.ck-button{
|
|
325
|
+
width:100%;
|
|
326
|
+
display:block;
|
|
327
|
+
}
|
|
212
328
|
|
|
213
|
-
.ck.ck-form .ck.ck-
|
|
214
|
-
|
|
215
|
-
|
|
329
|
+
[dir="ltr"] :is(.ck.ck-image-insert-form > .ck.ck-button){
|
|
330
|
+
text-align:left;
|
|
331
|
+
}
|
|
216
332
|
|
|
217
|
-
.ck.ck-form .ck.ck-
|
|
218
|
-
|
|
219
|
-
|
|
333
|
+
[dir="rtl"] :is(.ck.ck-image-insert-form > .ck.ck-button){
|
|
334
|
+
text-align:right;
|
|
335
|
+
}
|
|
220
336
|
|
|
221
|
-
.ck.ck-form .ck.ck-
|
|
222
|
-
|
|
223
|
-
|
|
337
|
+
.ck.ck-image-insert-form > .ck.ck-collapsible:not(:first-child){
|
|
338
|
+
border-top:1px solid var(--ck-color-base-border);
|
|
339
|
+
}
|
|
224
340
|
|
|
225
|
-
|
|
341
|
+
.ck.ck-image-insert-form > .ck.ck-collapsible:not(:last-child){
|
|
342
|
+
border-bottom:1px solid var(--ck-color-base-border);
|
|
343
|
+
}
|
|
226
344
|
|
|
227
|
-
.ck.ck-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
padding:0;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
345
|
+
.ck.ck-image-insert-form > .ck.ck-collapsible{
|
|
346
|
+
min-width:var(--ck-image-insert-insert-by-url-width);
|
|
347
|
+
}
|
|
233
348
|
|
|
234
|
-
|
|
349
|
+
.ck.ck-image-insert-form > .ck.ck-image-insert-url{
|
|
350
|
+
min-width:var(--ck-image-insert-insert-by-url-width);
|
|
351
|
+
padding:var(--ck-spacing-large);
|
|
352
|
+
}
|
|
235
353
|
|
|
236
|
-
.ck.ck-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
}
|
|
354
|
+
.ck.ck-image-insert-form:focus{
|
|
355
|
+
outline:none;
|
|
356
|
+
}
|
|
240
357
|
|
|
241
|
-
|
|
358
|
+
:root{
|
|
359
|
+
--ck-image-custom-resize-form-width:340px;
|
|
360
|
+
}
|
|
242
361
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
362
|
+
@media screen and (width <= 600px){
|
|
363
|
+
:root{
|
|
364
|
+
--ck-image-custom-resize-form-width:300px;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
247
367
|
|
|
248
|
-
|
|
368
|
+
.ck.ck-image-custom-resize-form.ck-responsive-form{
|
|
369
|
+
width:var(--ck-image-custom-resize-form-width);
|
|
370
|
+
}
|
|
249
371
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}
|
|
372
|
+
:root{
|
|
373
|
+
--ck-text-alternative-form-width:340px;
|
|
374
|
+
}
|
|
254
375
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
376
|
+
@media screen and (width <= 600px){
|
|
377
|
+
:root{
|
|
378
|
+
--ck-text-alternative-form-width:300px;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
258
381
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
382
|
+
.ck.ck-text-alternative-form.ck-responsive-form{
|
|
383
|
+
width:var(--ck-text-alternative-form-width);
|
|
384
|
+
}
|