@ckeditor/ckeditor5-image 48.3.1 → 48.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.
- package/dist/image/imageplaceholder.d.ts +0 -1
- package/dist/image.d.ts +0 -1
- package/dist/imageblock.d.ts +0 -1
- package/dist/imagecaption.d.ts +0 -1
- package/dist/imageinline.d.ts +0 -1
- package/dist/imageinsert/ui/imageinsertformview.d.ts +0 -1
- package/dist/imageresize/ui/imagecustomresizeformview.d.ts +0 -1
- package/dist/imageresize.d.ts +0 -1
- package/dist/imagestyle/imagestyleui.d.ts +0 -1
- package/dist/imagetextalternative/ui/textalternativeformview.d.ts +0 -1
- package/dist/imageupload/imageuploadprogress.d.ts +0 -3
- package/dist/index-content.css +95 -96
- package/dist/index-content.css.map +1 -0
- package/dist/index-editor.css +228 -232
- package/dist/index-editor.css.map +1 -0
- package/dist/index.css +143 -142
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
9
9
|
import { ImageUtils } from "../imageutils.js";
|
|
10
|
-
import "../../theme/imageplaceholder.css";
|
|
11
10
|
/**
|
|
12
11
|
* Adds support for image placeholder that is automatically removed when the image is loaded.
|
|
13
12
|
*/
|
package/dist/image.d.ts
CHANGED
package/dist/imageblock.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ import { Widget } from "@ckeditor/ckeditor5-widget";
|
|
|
10
10
|
import { ImageTextAlternative } from "./imagetextalternative.js";
|
|
11
11
|
import { ImageBlockEditing } from "./image/imageblockediting.js";
|
|
12
12
|
import { ImageInsertUI } from "./imageinsert/imageinsertui.js";
|
|
13
|
-
import "../theme/image.css";
|
|
14
13
|
/**
|
|
15
14
|
* The image block plugin.
|
|
16
15
|
*
|
package/dist/imagecaption.d.ts
CHANGED
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
9
9
|
import { ImageCaptionEditing } from "./imagecaption/imagecaptionediting.js";
|
|
10
10
|
import { ImageCaptionUI } from "./imagecaption/imagecaptionui.js";
|
|
11
|
-
import "../theme/imagecaption.css";
|
|
12
11
|
/**
|
|
13
12
|
* The image caption plugin.
|
|
14
13
|
*
|
package/dist/imageinline.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ import { Widget } from "@ckeditor/ckeditor5-widget";
|
|
|
10
10
|
import { ImageTextAlternative } from "./imagetextalternative.js";
|
|
11
11
|
import { ImageInlineEditing } from "./image/imageinlineediting.js";
|
|
12
12
|
import { ImageInsertUI } from "./imageinsert/imageinsertui.js";
|
|
13
|
-
import "../theme/image.css";
|
|
14
13
|
/**
|
|
15
14
|
* The image inline plugin.
|
|
16
15
|
*
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { View, ViewCollection, FocusCycler, type FocusableView } from "@ckeditor/ckeditor5-ui";
|
|
9
9
|
import { FocusTracker, KeystrokeHandler, type Locale } from "@ckeditor/ckeditor5-utils";
|
|
10
|
-
import "../../../theme/imageinsert.css";
|
|
11
10
|
/**
|
|
12
11
|
* The view displayed in the insert image dropdown.
|
|
13
12
|
*
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { ButtonView, FocusCycler, LabeledFieldView, View, ViewCollection, type FocusableView, type InputNumberView } from "@ckeditor/ckeditor5-ui";
|
|
9
9
|
import { FocusTracker, KeystrokeHandler, type Locale } from "@ckeditor/ckeditor5-utils";
|
|
10
|
-
import "../../../theme/imagecustomresizeform.css";
|
|
11
10
|
/**
|
|
12
11
|
* The ImageCustomResizeFormView class.
|
|
13
12
|
*
|
package/dist/imageresize.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ import { ImageResizeButtons } from "./imageresize/imageresizebuttons.js";
|
|
|
10
10
|
import { ImageResizeEditing } from "./imageresize/imageresizeediting.js";
|
|
11
11
|
import { ImageResizeHandles } from "./imageresize/imageresizehandles.js";
|
|
12
12
|
import { ImageCustomResizeUI } from "./imageresize/imagecustomresizeui.js";
|
|
13
|
-
import "../theme/imageresize.css";
|
|
14
13
|
/**
|
|
15
14
|
* The image resize plugin.
|
|
16
15
|
*
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { ButtonView, FocusCycler, LabeledFieldView, View, ViewCollection, type InputView, type FocusableView } from "@ckeditor/ckeditor5-ui";
|
|
9
9
|
import { FocusTracker, KeystrokeHandler, type Locale } from "@ckeditor/ckeditor5-utils";
|
|
10
|
-
import "../../../theme/textalternativeform.css";
|
|
11
10
|
/**
|
|
12
11
|
* The TextAlternativeFormView class.
|
|
13
12
|
*
|
|
@@ -6,9 +6,6 @@
|
|
|
6
6
|
* @module image/imageupload/imageuploadprogress
|
|
7
7
|
*/
|
|
8
8
|
import { type Editor, Plugin } from "@ckeditor/ckeditor5-core";
|
|
9
|
-
import "../../theme/imageuploadprogress.css";
|
|
10
|
-
import "../../theme/imageuploadicon.css";
|
|
11
|
-
import "../../theme/imageuploadloader.css";
|
|
12
9
|
/**
|
|
13
10
|
* The image upload progress plugin.
|
|
14
11
|
* It shows a placeholder when the image is read from the disk and a progress bar while the image is uploading.
|
package/dist/index-content.css
CHANGED
|
@@ -2,148 +2,147 @@
|
|
|
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
|
-
:root{
|
|
6
|
-
--ck-content-color-image-caption-background
|
|
7
|
-
--ck-content-color-image-caption-text
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
break
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
5
|
+
:root {
|
|
6
|
+
--ck-content-color-image-caption-background: #f7f7f7;
|
|
7
|
+
--ck-content-color-image-caption-text: #333;
|
|
8
|
+
--ck-content-image-style-spacing: 1.5em;
|
|
9
|
+
--ck-content-inline-image-style-spacing: calc(var(--ck-content-image-style-spacing) / 2);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ck-content .image > figcaption {
|
|
13
|
+
caption-side: bottom;
|
|
14
|
+
word-break: normal;
|
|
15
|
+
overflow-wrap: anywhere;
|
|
16
|
+
break-before: avoid;
|
|
17
|
+
color: var(--ck-content-color-image-caption-text);
|
|
18
|
+
background-color: var(--ck-content-color-image-caption-background);
|
|
19
|
+
outline-offset: -1px;
|
|
20
|
+
padding: .6em;
|
|
21
|
+
font-size: .75em;
|
|
22
|
+
display: table-caption;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media (forced-colors: active) {
|
|
26
|
+
.ck-content .image > figcaption {
|
|
27
|
+
background-color: unset;
|
|
28
|
+
color: unset;
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
|
|
30
|
-
.ck-content img.image_resized{
|
|
31
|
-
height:auto;
|
|
32
|
+
.ck-content img.image_resized {
|
|
33
|
+
height: auto;
|
|
32
34
|
}
|
|
33
35
|
|
|
34
|
-
.ck-content .image.image_resized{
|
|
35
|
-
box-sizing:border-box;
|
|
36
|
-
max-width:100%;
|
|
37
|
-
display:block;
|
|
36
|
+
.ck-content .image.image_resized {
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
max-width: 100%;
|
|
39
|
+
display: block;
|
|
38
40
|
}
|
|
39
41
|
|
|
40
|
-
.ck-content .image.image_resized img{
|
|
41
|
-
width:100%;
|
|
42
|
+
.ck-content .image.image_resized img {
|
|
43
|
+
width: 100%;
|
|
42
44
|
}
|
|
43
45
|
|
|
44
|
-
.ck-content .image.image_resized > figcaption{
|
|
45
|
-
display:block;
|
|
46
|
+
.ck-content .image.image_resized > figcaption {
|
|
47
|
+
display: block;
|
|
46
48
|
}
|
|
47
49
|
|
|
48
|
-
|
|
49
|
-
--ck-content-image-style-spacing
|
|
50
|
-
--ck-content-inline-image-style-spacing:calc(var(--ck-content-image-style-spacing) / 2);
|
|
50
|
+
.ck-content .image.image-style-block-align-left, .ck-content .image.image-style-block-align-right {
|
|
51
|
+
max-width: calc(100% - var(--ck-content-image-style-spacing));
|
|
51
52
|
}
|
|
52
53
|
|
|
53
|
-
.ck-content .image.image-style-
|
|
54
|
-
|
|
54
|
+
.ck-content .image.image-style-align-left, .ck-content .image.image-style-align-right {
|
|
55
|
+
clear: none;
|
|
55
56
|
}
|
|
56
57
|
|
|
57
|
-
.ck-content .image.image-style-
|
|
58
|
-
|
|
58
|
+
.ck-content .image.image-style-side {
|
|
59
|
+
float: right;
|
|
60
|
+
margin-left: var(--ck-content-image-style-spacing);
|
|
61
|
+
max-width: 50%;
|
|
59
62
|
}
|
|
60
63
|
|
|
61
|
-
.ck-content .image.image-style-
|
|
62
|
-
float:
|
|
63
|
-
margin-
|
|
64
|
-
max-width:50%;
|
|
64
|
+
.ck-content .image.image-style-align-left {
|
|
65
|
+
float: left;
|
|
66
|
+
margin-right: var(--ck-content-image-style-spacing);
|
|
65
67
|
}
|
|
66
68
|
|
|
67
|
-
.ck-content .image.image-style-align-
|
|
68
|
-
float:
|
|
69
|
-
margin-
|
|
69
|
+
.ck-content .image.image-style-align-right {
|
|
70
|
+
float: right;
|
|
71
|
+
margin-left: var(--ck-content-image-style-spacing);
|
|
70
72
|
}
|
|
71
73
|
|
|
72
|
-
.ck-content .image.image-style-align-right{
|
|
73
|
-
|
|
74
|
-
margin-
|
|
74
|
+
.ck-content .image.image-style-block-align-right {
|
|
75
|
+
margin-left: auto;
|
|
76
|
+
margin-right: 0;
|
|
75
77
|
}
|
|
76
78
|
|
|
77
|
-
.ck-content .image.image-style-block-align-
|
|
78
|
-
margin-left:
|
|
79
|
-
margin-right:
|
|
79
|
+
.ck-content .image.image-style-block-align-left {
|
|
80
|
+
margin-left: 0;
|
|
81
|
+
margin-right: auto;
|
|
80
82
|
}
|
|
81
83
|
|
|
82
|
-
.ck-content .image
|
|
83
|
-
margin-left:
|
|
84
|
-
margin-right:auto;
|
|
84
|
+
.ck-content .image-style-align-center {
|
|
85
|
+
margin-left: auto;
|
|
86
|
+
margin-right: auto;
|
|
85
87
|
}
|
|
86
88
|
|
|
87
|
-
.ck-content .image-style-align-
|
|
88
|
-
|
|
89
|
-
margin-right:
|
|
89
|
+
.ck-content .image-style-align-left {
|
|
90
|
+
float: left;
|
|
91
|
+
margin-right: var(--ck-content-image-style-spacing);
|
|
90
92
|
}
|
|
91
93
|
|
|
92
|
-
.ck-content .image-style-align-
|
|
93
|
-
float:
|
|
94
|
-
margin-
|
|
94
|
+
.ck-content .image-style-align-right {
|
|
95
|
+
float: right;
|
|
96
|
+
margin-left: var(--ck-content-image-style-spacing);
|
|
95
97
|
}
|
|
96
98
|
|
|
97
|
-
.ck-content .image-style-align-right{
|
|
98
|
-
|
|
99
|
-
margin-left:var(--ck-content-image-style-spacing);
|
|
99
|
+
.ck-content p + .image.image-style-align-left, .ck-content p + .image.image-style-align-right, .ck-content p + .image.image-style-side {
|
|
100
|
+
margin-top: 0;
|
|
100
101
|
}
|
|
101
102
|
|
|
102
|
-
.ck-content
|
|
103
|
-
margin-top:
|
|
103
|
+
.ck-content .image-inline.image-style-align-left, .ck-content .image-inline.image-style-align-right {
|
|
104
|
+
margin-top: var(--ck-content-inline-image-style-spacing);
|
|
105
|
+
margin-bottom: var(--ck-content-inline-image-style-spacing);
|
|
104
106
|
}
|
|
105
107
|
|
|
106
|
-
.ck-content .image-inline.image-style-align-left
|
|
107
|
-
margin-
|
|
108
|
-
margin-bottom:var(--ck-content-inline-image-style-spacing);
|
|
108
|
+
.ck-content .image-inline.image-style-align-left {
|
|
109
|
+
margin-right: var(--ck-content-inline-image-style-spacing);
|
|
109
110
|
}
|
|
110
111
|
|
|
111
|
-
.ck-content .image-inline.image-style-align-
|
|
112
|
-
margin-
|
|
112
|
+
.ck-content .image-inline.image-style-align-right {
|
|
113
|
+
margin-left: var(--ck-content-inline-image-style-spacing);
|
|
113
114
|
}
|
|
114
115
|
|
|
115
|
-
.ck-content .image
|
|
116
|
-
|
|
116
|
+
.ck-content .image {
|
|
117
|
+
clear: both;
|
|
118
|
+
text-align: center;
|
|
119
|
+
min-width: 50px;
|
|
120
|
+
margin: .9em auto;
|
|
121
|
+
display: table;
|
|
117
122
|
}
|
|
118
123
|
|
|
119
|
-
.ck-content .image{
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
margin
|
|
124
|
-
display:
|
|
124
|
+
.ck-content .image img {
|
|
125
|
+
min-width: 100%;
|
|
126
|
+
max-width: 100%;
|
|
127
|
+
height: auto;
|
|
128
|
+
margin: 0 auto;
|
|
129
|
+
display: block;
|
|
125
130
|
}
|
|
126
131
|
|
|
127
|
-
.ck-content .image
|
|
128
|
-
|
|
129
|
-
max-width:100%;
|
|
130
|
-
|
|
131
|
-
margin:0 auto;
|
|
132
|
-
display:block;
|
|
132
|
+
.ck-content .image-inline {
|
|
133
|
+
align-items: flex-start;
|
|
134
|
+
max-width: 100%;
|
|
135
|
+
display: inline-flex;
|
|
133
136
|
}
|
|
134
137
|
|
|
135
|
-
.ck-content .image-inline{
|
|
136
|
-
|
|
137
|
-
max-width:100%;
|
|
138
|
-
display:inline-flex;
|
|
138
|
+
.ck-content .image-inline picture {
|
|
139
|
+
display: flex;
|
|
139
140
|
}
|
|
140
141
|
|
|
141
|
-
.ck-content .image-inline picture{
|
|
142
|
-
|
|
142
|
+
.ck-content .image-inline picture, .ck-content .image-inline img {
|
|
143
|
+
flex-grow: 1;
|
|
144
|
+
flex-shrink: 1;
|
|
145
|
+
max-width: 100%;
|
|
143
146
|
}
|
|
144
147
|
|
|
145
|
-
|
|
146
|
-
flex-grow:1;
|
|
147
|
-
flex-shrink:1;
|
|
148
|
-
max-width:100%;
|
|
149
|
-
}
|
|
148
|
+
/*# sourceMappingURL=index-content.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../theme/index-content.css","index-content.css"],"names":[],"mappings":";;;;AAKA,CAAA,IAAA,CAAA;ACJA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM;AACtD,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG;AAC7C,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG;AACzC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1F;;ADQA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,KAAA,CAAA,CAAA,CAAA,UAAA,CAAA;ACLA,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM;AACtB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM;AACpB,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,QAAQ;AACzB,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,KAAK;AACrB,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,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,KAAK,CAAC,CAAC,GAAG,CAAC;AACjB,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI;AACd,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI;AAChB,CAAC,CAAC,OAAO,CAAC,CAAC,KAAK;AAChB;;AD2DC,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,KAAA,CAAA,MAAA,CAAA;ACxDD,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK;AACzB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;AACjB,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,IAAI;AACtB;;ADoEE,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,KAAA,CAAA,MAAA,CAAA,OAAA,CAAA;ACjEF,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI;AACf;;ADqEE,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,KAAA,CAAA,MAAA,CAAA,OAAA,CAAA,CAAA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,KAAA,CAAA,MAAA,CAAA,GAAA,CAAA;AClEF,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACd,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;AAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;AACjB;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-content.css.map","sourcesContent":["/*\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n:root {\n\t/* The variable is used by both editor and content styles. Keep it in sync with the identical declaration in `imagecaption.css`. */\n\t--ck-content-color-image-caption-background: hsl(0, 0%, 97%);\n\t--ck-content-color-image-caption-text: hsl(0, 0%, 20%);\n\t--ck-content-image-style-spacing: 1.5em;\n\t--ck-content-inline-image-style-spacing: calc(var(--ck-content-image-style-spacing) / 2);\n}\n\n.ck-content .image > figcaption {\n\tdisplay: table-caption;\n\tcaption-side: bottom;\n\tword-break: normal;\n\toverflow-wrap: anywhere;\n\t/*\n\t * `break-before: avoid` is not Baseline \"widely available\" because its support for print/paged-media\n\t * contexts specifically is reportedly unreliable in Firefox, even where nominally supported. There is\n\t * no alternative CSS mechanism to keep this caption attached to its image across a page break, so this\n\t * is an accepted, soft degradation (the caption may occasionally be orphaned onto the next printed page\n\t * in Firefox specifically), not a functional break introduced by this change.\n\t */\n\t/* eslint-disable-next-line css/use-baseline */\n\tbreak-before: avoid;\n\tcolor: var(--ck-content-color-image-caption-text);\n\tbackground-color: var(--ck-content-color-image-caption-background);\n\tpadding: .6em;\n\tfont-size: .75em;\n\toutline-offset: -1px;\n\n\t/* Improve placeholder rendering in high-constrast mode (https://github.com/ckeditor/ckeditor5/issues/14907). */\n\t@media (forced-colors: active) {\n\t\tbackground-color: unset;\n\t\tcolor: unset;\n\t}\n}\n\n/* Preserve aspect ratio of the resized image after introducing image height attribute. */\n\n.ck-content img.image_resized {\n\theight: auto;\n}\n\n.ck-content .image.image_resized {\n\tmax-width: 100%;\n\t/*\n\tThe `<figure>` element for resized images must not use `display:table` as browsers do not support `max-width` for it well.\n\tSee https://stackoverflow.com/questions/4019604/chrome-safari-ignoring-max-width-in-table/14420691#14420691 for more.\n\tFortunately, since we control the width, there is no risk that the image will look bad.\n\t*/\n\tdisplay: block;\n\tbox-sizing: border-box;\n\n\t& img {\n\t\t/* For resized images it is the `<figure>` element that determines the image width. */\n\t\twidth: 100%;\n\t}\n\n\t& > figcaption {\n\t\t/* The `<figure>` element uses `display:block`, so `<figcaption>` also has to. */\n\t\tdisplay: block;\n\t}\n}\n\n.ck-content {\n\t/* See: https://github.com/ckeditor/ckeditor5/issues/16317 */\n\t& .image {\n\t\t/* Provides a minimal side margin for the left and right aligned images, so that the user has a visual feedback\n\t\tconfirming successful application of the style if image width exceeds the editor's size.\n\t\tSee https://github.com/ckeditor/ckeditor5/issues/9342 */\n\t\t&.image-style-block-align-left,\n\t\t&.image-style-block-align-right {\n\t\t\tmax-width: calc(100% - var(--ck-content-image-style-spacing));\n\t\t}\n\n\t\t/* Allows displaying multiple floating images in the same line.\n\t\tSee https://github.com/ckeditor/ckeditor5/issues/9183#issuecomment-804988132 */\n\t\t&.image-style-align-left,\n\t\t&.image-style-align-right {\n\t\t\tclear: none;\n\t\t}\n\n\t\t&.image-style-side {\n\t\t\tfloat: right;\n\t\t\tmargin-left: var(--ck-content-image-style-spacing);\n\t\t\tmax-width: 50%;\n\t\t}\n\n\t\t&.image-style-align-left {\n\t\t\tfloat: left;\n\t\t\tmargin-right: var(--ck-content-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-right {\n\t\t\tfloat: right;\n\t\t\tmargin-left: var(--ck-content-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-block-align-right {\n\t\t\tmargin-right: 0;\n\t\t\tmargin-left: auto;\n\t\t}\n\n\t\t&.image-style-block-align-left {\n\t\t\tmargin-left: 0;\n\t\t\tmargin-right: auto;\n\t\t}\n\t}\n\n\t& .image-style-align-center {\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t}\n\n\t& .image-style-align-left {\n\t\tfloat: left;\n\t\tmargin-right: var(--ck-content-image-style-spacing);\n\t}\n\n\t& .image-style-align-right {\n\t\tfloat: right;\n\t\tmargin-left: var(--ck-content-image-style-spacing);\n\t}\n\n\t/* Simulates margin collapsing with the preceding paragraph, which does not work for the floating elements. */\n\t& p + .image.image-style-align-left,\n\t& p + .image.image-style-align-right,\n\t& p + .image.image-style-side {\n\t\tmargin-top: 0;\n\t}\n\n\t& .image-inline {\n\t\t&.image-style-align-left,\n\t\t&.image-style-align-right {\n\t\t\tmargin-top: var(--ck-content-inline-image-style-spacing);\n\t\t\tmargin-bottom: var(--ck-content-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-left {\n\t\t\tmargin-right: var(--ck-content-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-right {\n\t\t\tmargin-left: var(--ck-content-inline-image-style-spacing);\n\t\t}\n\t}\n}\n\n.ck-content {\n\t& .image {\n\t\tdisplay: table;\n\t\tclear: both;\n\t\ttext-align: center;\n\n\t\t/* Make sure there is some space between the content and the image. Center image by default. */\n\t\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\t \tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\t\tmargin: 0.9em auto;\n\n\t\t/* Make sure the caption will be displayed properly (See: https://github.com/ckeditor/ckeditor5/issues/1870). */\n\t\tmin-width: 50px;\n\n\t\t& img {\n\t\t\t/* Prevent unnecessary margins caused by line-height (see https://github.com/ckeditor/ckeditor5/issues/44). */\n\t\t\tdisplay: block;\n\n\t\t\t/* Center the image if its width is smaller than the content's width. */\n\t\t\tmargin: 0 auto;\n\n\t\t\t/* Make sure the image never exceeds the size of the parent container (ckeditor/ckeditor5-ui#67). */\n\t\t\tmax-width: 100%;\n\n\t\t\t/* Make sure the image is never smaller than the parent container (See: https://github.com/ckeditor/ckeditor5/issues/9300). */\n\t\t\tmin-width: 100%;\n\n\t\t\t/* Keep proportions of the block image if the height is set and the image is wider than the editor width.\n\t\t\tSee https://github.com/ckeditor/ckeditor5/issues/14542. */\n\t\t\theight: auto;\n\t\t}\n\t}\n\n\t& .image-inline {\n\t\t/*\n\t\t * Normally, the .image-inline would have \"display: inline-block\" and \"img { width: 100% }\" (to follow the wrapper while resizing).\n\t\t * Unfortunately, together with \"srcset\", it gets automatically stretched up to the width of the editing root.\n\t\t * This strange behavior does not happen with inline-flex.\n\t\t */\n\t\tdisplay: inline-flex;\n\n\t\t/* While being resized, don't allow the image to exceed the width of the editing root. */\n\t\tmax-width: 100%;\n\n\t\t/* This is required by Safari to resize images in a sensible way. Without this, the browser breaks the ratio. */\n\t\talign-items: flex-start;\n\n\t\t/* When the picture is present it must act as a flex container to let the img resize properly */\n\t\t& picture {\n\t\t\tdisplay: flex;\n\t\t}\n\n\t\t/* When the picture is present, it must act like a resizable img. */\n\t\t& picture,\n\t\t& img {\n\t\t\t/* This is necessary for the img to span the entire .image-inline wrapper and to resize properly. */\n\t\t\tflex-grow: 1;\n\t\t\tflex-shrink: 1;\n\n\t\t\t/* Prevents overflowing the editing root boundaries when an inline image is very wide. */\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n}\n",":root {\n --ck-content-color-image-caption-background: #f7f7f7;\n --ck-content-color-image-caption-text: #333;\n --ck-content-image-style-spacing: 1.5em;\n --ck-content-inline-image-style-spacing: calc(var(--ck-content-image-style-spacing) / 2);\n}\n\n.ck-content .image > figcaption {\n caption-side: bottom;\n word-break: normal;\n overflow-wrap: anywhere;\n break-before: avoid;\n color: var(--ck-content-color-image-caption-text);\n background-color: var(--ck-content-color-image-caption-background);\n outline-offset: -1px;\n padding: .6em;\n font-size: .75em;\n display: table-caption;\n}\n\n@media (forced-colors: active) {\n .ck-content .image > figcaption {\n background-color: unset;\n color: unset;\n }\n}\n\n.ck-content img.image_resized {\n height: auto;\n}\n\n.ck-content .image.image_resized {\n box-sizing: border-box;\n max-width: 100%;\n display: block;\n}\n\n.ck-content .image.image_resized img {\n width: 100%;\n}\n\n.ck-content .image.image_resized > figcaption {\n display: block;\n}\n\n.ck-content .image.image-style-block-align-left, .ck-content .image.image-style-block-align-right {\n max-width: calc(100% - var(--ck-content-image-style-spacing));\n}\n\n.ck-content .image.image-style-align-left, .ck-content .image.image-style-align-right {\n clear: none;\n}\n\n.ck-content .image.image-style-side {\n float: right;\n margin-left: var(--ck-content-image-style-spacing);\n max-width: 50%;\n}\n\n.ck-content .image.image-style-align-left {\n float: left;\n margin-right: var(--ck-content-image-style-spacing);\n}\n\n.ck-content .image.image-style-align-right {\n float: right;\n margin-left: var(--ck-content-image-style-spacing);\n}\n\n.ck-content .image.image-style-block-align-right {\n margin-left: auto;\n margin-right: 0;\n}\n\n.ck-content .image.image-style-block-align-left {\n margin-left: 0;\n margin-right: auto;\n}\n\n.ck-content .image-style-align-center {\n margin-left: auto;\n margin-right: auto;\n}\n\n.ck-content .image-style-align-left {\n float: left;\n margin-right: var(--ck-content-image-style-spacing);\n}\n\n.ck-content .image-style-align-right {\n float: right;\n margin-left: var(--ck-content-image-style-spacing);\n}\n\n.ck-content p + .image.image-style-align-left, .ck-content p + .image.image-style-align-right, .ck-content p + .image.image-style-side {\n margin-top: 0;\n}\n\n.ck-content .image-inline.image-style-align-left, .ck-content .image-inline.image-style-align-right {\n margin-top: var(--ck-content-inline-image-style-spacing);\n margin-bottom: var(--ck-content-inline-image-style-spacing);\n}\n\n.ck-content .image-inline.image-style-align-left {\n margin-right: var(--ck-content-inline-image-style-spacing);\n}\n\n.ck-content .image-inline.image-style-align-right {\n margin-left: var(--ck-content-inline-image-style-spacing);\n}\n\n.ck-content .image {\n clear: both;\n text-align: center;\n min-width: 50px;\n margin: .9em auto;\n display: table;\n}\n\n.ck-content .image img {\n min-width: 100%;\n max-width: 100%;\n height: auto;\n margin: 0 auto;\n display: block;\n}\n\n.ck-content .image-inline {\n align-items: flex-start;\n max-width: 100%;\n display: inline-flex;\n}\n\n.ck-content .image-inline picture {\n display: flex;\n}\n\n.ck-content .image-inline picture, .ck-content .image-inline img {\n flex-grow: 1;\n flex-shrink: 1;\n max-width: 100%;\n}\n\n/*# sourceMappingURL=index-content.css.map */"]}
|