@ckeditor/ckeditor5-image 42.0.1-alpha.3 → 42.0.2-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.
Files changed (128) hide show
  1. package/dist/index-content.css +146 -133
  2. package/dist/index-editor.css +207 -125
  3. package/dist/translations/ar.d.ts +1 -1
  4. package/dist/translations/ast.d.ts +1 -1
  5. package/dist/translations/az.d.ts +1 -1
  6. package/dist/translations/bg.d.ts +1 -1
  7. package/dist/translations/bn.d.ts +1 -1
  8. package/dist/translations/bs.d.ts +1 -1
  9. package/dist/translations/ca.d.ts +1 -1
  10. package/dist/translations/cs.d.ts +1 -1
  11. package/dist/translations/da.d.ts +1 -1
  12. package/dist/translations/de-ch.d.ts +1 -1
  13. package/dist/translations/de.d.ts +1 -1
  14. package/dist/translations/el.d.ts +1 -1
  15. package/dist/translations/en-au.d.ts +1 -1
  16. package/dist/translations/en-gb.d.ts +1 -1
  17. package/dist/translations/en.d.ts +1 -1
  18. package/dist/translations/eo.d.ts +1 -1
  19. package/dist/translations/es.d.ts +1 -1
  20. package/dist/translations/et.d.ts +1 -1
  21. package/dist/translations/eu.d.ts +1 -1
  22. package/dist/translations/fa.d.ts +1 -1
  23. package/dist/translations/fi.d.ts +1 -1
  24. package/dist/translations/fr.d.ts +1 -1
  25. package/dist/translations/gl.d.ts +1 -1
  26. package/dist/translations/he.d.ts +1 -1
  27. package/dist/translations/hi.d.ts +1 -1
  28. package/dist/translations/hr.d.ts +1 -1
  29. package/dist/translations/hu.d.ts +1 -1
  30. package/dist/translations/id.d.ts +1 -1
  31. package/dist/translations/it.d.ts +1 -1
  32. package/dist/translations/ja.d.ts +1 -1
  33. package/dist/translations/jv.d.ts +1 -1
  34. package/dist/translations/km.d.ts +1 -1
  35. package/dist/translations/kn.d.ts +1 -1
  36. package/dist/translations/ko.d.ts +1 -1
  37. package/dist/translations/ku.d.ts +1 -1
  38. package/dist/translations/lt.d.ts +1 -1
  39. package/dist/translations/lv.d.ts +1 -1
  40. package/dist/translations/ms.d.ts +1 -1
  41. package/dist/translations/nb.d.ts +1 -1
  42. package/dist/translations/ne.d.ts +1 -1
  43. package/dist/translations/nl.d.ts +1 -1
  44. package/dist/translations/no.d.ts +1 -1
  45. package/dist/translations/pl.d.ts +1 -1
  46. package/dist/translations/pt-br.d.ts +1 -1
  47. package/dist/translations/pt.d.ts +1 -1
  48. package/dist/translations/ro.d.ts +1 -1
  49. package/dist/translations/ru.d.ts +1 -1
  50. package/dist/translations/si.d.ts +1 -1
  51. package/dist/translations/sk.d.ts +1 -1
  52. package/dist/translations/sq.d.ts +1 -1
  53. package/dist/translations/sr-latn.d.ts +1 -1
  54. package/dist/translations/sr.d.ts +1 -1
  55. package/dist/translations/sv.d.ts +1 -1
  56. package/dist/translations/th.d.ts +1 -1
  57. package/dist/translations/ti.d.ts +1 -1
  58. package/dist/translations/tk.d.ts +1 -1
  59. package/dist/translations/tr.d.ts +1 -1
  60. package/dist/translations/ug.d.ts +1 -1
  61. package/dist/translations/uk.d.ts +1 -1
  62. package/dist/translations/ur.d.ts +1 -1
  63. package/dist/translations/uz.d.ts +1 -1
  64. package/dist/translations/vi.d.ts +1 -1
  65. package/dist/translations/zh-cn.d.ts +1 -1
  66. package/dist/translations/zh.d.ts +1 -1
  67. package/package.json +11 -3
  68. /package/dist/{types/augmentation.d.ts → augmentation.d.ts} +0 -0
  69. /package/dist/{types/autoimage.d.ts → autoimage.d.ts} +0 -0
  70. /package/dist/{types/image → image}/converters.d.ts +0 -0
  71. /package/dist/{types/image → image}/imageblockediting.d.ts +0 -0
  72. /package/dist/{types/image → image}/imageediting.d.ts +0 -0
  73. /package/dist/{types/image → image}/imageinlineediting.d.ts +0 -0
  74. /package/dist/{types/image → image}/imageloadobserver.d.ts +0 -0
  75. /package/dist/{types/image → image}/imageplaceholder.d.ts +0 -0
  76. /package/dist/{types/image → image}/imagetypecommand.d.ts +0 -0
  77. /package/dist/{types/image → image}/insertimagecommand.d.ts +0 -0
  78. /package/dist/{types/image → image}/replaceimagesourcecommand.d.ts +0 -0
  79. /package/dist/{types/image → image}/ui/utils.d.ts +0 -0
  80. /package/dist/{types/image → image}/utils.d.ts +0 -0
  81. /package/dist/{types/image.d.ts → image.d.ts} +0 -0
  82. /package/dist/{types/imageblock.d.ts → imageblock.d.ts} +0 -0
  83. /package/dist/{types/imagecaption → imagecaption}/imagecaptionediting.d.ts +0 -0
  84. /package/dist/{types/imagecaption → imagecaption}/imagecaptionui.d.ts +0 -0
  85. /package/dist/{types/imagecaption → imagecaption}/imagecaptionutils.d.ts +0 -0
  86. /package/dist/{types/imagecaption → imagecaption}/toggleimagecaptioncommand.d.ts +0 -0
  87. /package/dist/{types/imagecaption.d.ts → imagecaption.d.ts} +0 -0
  88. /package/dist/{types/imageconfig.d.ts → imageconfig.d.ts} +0 -0
  89. /package/dist/{types/imageinline.d.ts → imageinline.d.ts} +0 -0
  90. /package/dist/{types/imageinsert → imageinsert}/imageinsertui.d.ts +0 -0
  91. /package/dist/{types/imageinsert → imageinsert}/imageinsertviaurlui.d.ts +0 -0
  92. /package/dist/{types/imageinsert → imageinsert}/ui/imageinsertformview.d.ts +0 -0
  93. /package/dist/{types/imageinsert → imageinsert}/ui/imageinserturlview.d.ts +0 -0
  94. /package/dist/{types/imageinsert.d.ts → imageinsert.d.ts} +0 -0
  95. /package/dist/{types/imageinsertviaurl.d.ts → imageinsertviaurl.d.ts} +0 -0
  96. /package/dist/{types/imageresize → imageresize}/imagecustomresizeui.d.ts +0 -0
  97. /package/dist/{types/imageresize → imageresize}/imageresizebuttons.d.ts +0 -0
  98. /package/dist/{types/imageresize → imageresize}/imageresizeediting.d.ts +0 -0
  99. /package/dist/{types/imageresize → imageresize}/imageresizehandles.d.ts +0 -0
  100. /package/dist/{types/imageresize → imageresize}/resizeimagecommand.d.ts +0 -0
  101. /package/dist/{types/imageresize → imageresize}/ui/imagecustomresizeformview.d.ts +0 -0
  102. /package/dist/{types/imageresize → imageresize}/utils/getselectedimageeditornodes.d.ts +0 -0
  103. /package/dist/{types/imageresize → imageresize}/utils/getselectedimagepossibleresizerange.d.ts +0 -0
  104. /package/dist/{types/imageresize → imageresize}/utils/getselectedimagewidthinunits.d.ts +0 -0
  105. /package/dist/{types/imageresize → imageresize}/utils/tryparsedimensionwithunit.d.ts +0 -0
  106. /package/dist/{types/imageresize.d.ts → imageresize.d.ts} +0 -0
  107. /package/dist/{types/imagesizeattributes.d.ts → imagesizeattributes.d.ts} +0 -0
  108. /package/dist/{types/imagestyle → imagestyle}/converters.d.ts +0 -0
  109. /package/dist/{types/imagestyle → imagestyle}/imagestylecommand.d.ts +0 -0
  110. /package/dist/{types/imagestyle → imagestyle}/imagestyleediting.d.ts +0 -0
  111. /package/dist/{types/imagestyle → imagestyle}/imagestyleui.d.ts +0 -0
  112. /package/dist/{types/imagestyle → imagestyle}/utils.d.ts +0 -0
  113. /package/dist/{types/imagestyle.d.ts → imagestyle.d.ts} +0 -0
  114. /package/dist/{types/imagetextalternative → imagetextalternative}/imagetextalternativecommand.d.ts +0 -0
  115. /package/dist/{types/imagetextalternative → imagetextalternative}/imagetextalternativeediting.d.ts +0 -0
  116. /package/dist/{types/imagetextalternative → imagetextalternative}/imagetextalternativeui.d.ts +0 -0
  117. /package/dist/{types/imagetextalternative → imagetextalternative}/ui/textalternativeformview.d.ts +0 -0
  118. /package/dist/{types/imagetextalternative.d.ts → imagetextalternative.d.ts} +0 -0
  119. /package/dist/{types/imagetoolbar.d.ts → imagetoolbar.d.ts} +0 -0
  120. /package/dist/{types/imageupload → imageupload}/imageuploadediting.d.ts +0 -0
  121. /package/dist/{types/imageupload → imageupload}/imageuploadprogress.d.ts +0 -0
  122. /package/dist/{types/imageupload → imageupload}/imageuploadui.d.ts +0 -0
  123. /package/dist/{types/imageupload → imageupload}/uploadimagecommand.d.ts +0 -0
  124. /package/dist/{types/imageupload → imageupload}/utils.d.ts +0 -0
  125. /package/dist/{types/imageupload.d.ts → imageupload.d.ts} +0 -0
  126. /package/dist/{types/imageutils.d.ts → imageutils.d.ts} +0 -0
  127. /package/dist/{types/index.d.ts → index.d.ts} +0 -0
  128. /package/dist/{types/pictureediting.d.ts → pictureediting.d.ts} +0 -0
@@ -2,136 +2,149 @@
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- :root {
6
- --ck-color-image-caption-background: hsl(0, 0%, 97%);
7
- --ck-color-image-caption-text: hsl(0, 0%, 20%);
8
- --ck-image-style-spacing: 1.5em;
9
- --ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);
10
- }
11
- .ck-content .image > figcaption {
12
- display: table-caption;
13
- caption-side: bottom;
14
- word-break: break-word;
15
- color: var(--ck-color-image-caption-text);
16
- background-color: var(--ck-color-image-caption-background);
17
- padding: .6em;
18
- font-size: .75em;
19
- outline-offset: -1px;
20
-
21
- }
22
- .ck-content img.image_resized {
23
- height: auto;
24
-
25
- }
26
- .ck-content .image.image_resized {
27
- max-width: 100%;
28
- display: block;
29
- box-sizing: border-box;
30
-
31
- }
32
- .ck-content .image.image_resized img {
33
- width: 100%;
34
-
35
- }
36
- .ck-content .image.image_resized > figcaption {
37
- display: block;
38
-
39
- }
40
- .ck-content .image.image-style-block-align-left {
41
- max-width: calc(100% - var(--ck-image-style-spacing));
42
-
43
- }
44
- .ck-content .image.image-style-align-left {
45
- clear: none;
46
-
47
- }
48
- .ck-content .image.image-style-side {
49
- float: right;
50
- margin-left: var(--ck-image-style-spacing);
51
- max-width: 50%;
52
-
53
- }
54
- .ck-content .image.image-style-align-left {
55
- float: left;
56
- margin-right: var(--ck-image-style-spacing);
57
-
58
- }
59
- .ck-content .image.image-style-align-right {
60
- float: right;
61
- margin-left: var(--ck-image-style-spacing);
62
-
63
- }
64
- .ck-content .image.image-style-block-align-right {
65
- margin-right: 0;
66
- margin-left: auto;
67
-
68
- }
69
- .ck-content .image.image-style-block-align-left {
70
- margin-left: 0;
71
- margin-right: auto;
72
-
73
- }
74
- .ck-content .image-style-align-center {
75
- margin-left: auto;
76
- margin-right: auto;
77
-
78
- }
79
- .ck-content .image-style-align-left {
80
- float: left;
81
- margin-right: var(--ck-image-style-spacing);
82
-
83
- }
84
- .ck-content .image-style-align-right {
85
- float: right;
86
- margin-left: var(--ck-image-style-spacing);
87
-
88
- }
89
- .ck-content p + .image.image-style-align-left {
90
- margin-top: 0;
91
-
92
- }
93
- .ck-content .image-inline.image-style-align-left {
94
- margin-top: var(--ck-inline-image-style-spacing);
95
- margin-bottom: var(--ck-inline-image-style-spacing);
96
-
97
- }
98
- .ck-content .image-inline.image-style-align-left {
99
- margin-right: var(--ck-inline-image-style-spacing);
100
-
101
- }
102
- .ck-content .image-inline.image-style-align-right {
103
- margin-left: var(--ck-inline-image-style-spacing);
104
-
105
- }
106
- .ck-content .image {
107
- display: table;
108
- clear: both;
109
- text-align: center;
110
- margin: 0.9em auto;
111
- min-width: 50px;
112
-
113
- }
114
- .ck-content .image img {
115
- display: block;
116
- margin: 0 auto;
117
- max-width: 100%;
118
- min-width: 100%;
119
- height: auto;
120
-
121
- }
122
- .ck-content .image-inline {
123
- display: inline-flex;
124
- max-width: 100%;
125
- align-items: flex-start;
126
-
127
- }
128
- .ck-content .image-inline picture {
129
- display: flex;
130
-
131
- }
132
- .ck-content .image-inline picture {
133
- flex-grow: 1;
134
- flex-shrink: 1;
135
- max-width: 100%;
136
-
137
- }
5
+ :root{
6
+ --ck-color-image-caption-background:hsl(0, 0%, 97%);
7
+ --ck-color-image-caption-text:hsl(0, 0%, 20%);
8
+ }
9
+ .ck-content .image > figcaption{
10
+ display:table-caption;
11
+ caption-side:bottom;
12
+ word-break:break-word;
13
+ color:var(--ck-color-image-caption-text);
14
+ background-color:var(--ck-color-image-caption-background);
15
+ padding:.6em;
16
+ font-size:.75em;
17
+ outline-offset:-1px;
18
+ }
19
+ @media (forced-colors: active){
20
+ .ck-content .image > figcaption{
21
+ background-color:unset;
22
+ color:unset;
23
+ }
24
+ }
25
+ .ck-content img.image_resized{
26
+ height:auto;
27
+ }
28
+
29
+ .ck-content .image.image_resized{
30
+ max-width:100%;
31
+ display:block;
32
+ box-sizing:border-box;
33
+ }
34
+
35
+ .ck-content .image.image_resized img{
36
+ width:100%;
37
+ }
38
+
39
+ .ck-content .image.image_resized > figcaption{
40
+ display:block;
41
+ }
42
+
43
+ :root{
44
+ --ck-image-style-spacing:1.5em;
45
+ --ck-inline-image-style-spacing:calc(var(--ck-image-style-spacing) / 2);
46
+ }
47
+
48
+ .ck-content .image.image-style-block-align-left,
49
+ .ck-content .image.image-style-block-align-right{
50
+ max-width:calc(100% - var(--ck-image-style-spacing));
51
+ }
52
+
53
+ .ck-content .image.image-style-align-left,
54
+ .ck-content .image.image-style-align-right{
55
+ clear:none;
56
+ }
57
+
58
+ .ck-content .image.image-style-side{
59
+ float:right;
60
+ margin-left:var(--ck-image-style-spacing);
61
+ max-width:50%;
62
+ }
63
+
64
+ .ck-content .image.image-style-align-left{
65
+ float:left;
66
+ margin-right:var(--ck-image-style-spacing);
67
+ }
68
+
69
+ .ck-content .image.image-style-align-right{
70
+ float:right;
71
+ margin-left:var(--ck-image-style-spacing);
72
+ }
73
+
74
+ .ck-content .image.image-style-block-align-right{
75
+ margin-right:0;
76
+ margin-left:auto;
77
+ }
78
+
79
+ .ck-content .image.image-style-block-align-left{
80
+ margin-left:0;
81
+ margin-right:auto;
82
+ }
83
+
84
+ .ck-content .image-style-align-center{
85
+ margin-left:auto;
86
+ margin-right:auto;
87
+ }
88
+
89
+ .ck-content .image-style-align-left{
90
+ float:left;
91
+ margin-right:var(--ck-image-style-spacing);
92
+ }
93
+
94
+ .ck-content .image-style-align-right{
95
+ float:right;
96
+ margin-left:var(--ck-image-style-spacing);
97
+ }
98
+
99
+ .ck-content p + .image.image-style-align-left,
100
+ .ck-content p + .image.image-style-align-right,
101
+ .ck-content p + .image.image-style-side{
102
+ margin-top:0;
103
+ }
104
+
105
+ .ck-content .image-inline.image-style-align-left,
106
+ .ck-content .image-inline.image-style-align-right{
107
+ margin-top:var(--ck-inline-image-style-spacing);
108
+ margin-bottom:var(--ck-inline-image-style-spacing);
109
+ }
110
+
111
+ .ck-content .image-inline.image-style-align-left{
112
+ margin-right:var(--ck-inline-image-style-spacing);
113
+ }
114
+
115
+ .ck-content .image-inline.image-style-align-right{
116
+ margin-left:var(--ck-inline-image-style-spacing);
117
+ }
118
+
119
+ .ck-content .image{
120
+ display:table;
121
+ clear:both;
122
+ text-align:center;
123
+ margin:0.9em auto;
124
+ min-width:50px;
125
+ }
126
+
127
+ .ck-content .image img{
128
+ display:block;
129
+ margin:0 auto;
130
+ max-width:100%;
131
+ min-width:100%;
132
+ height:auto;
133
+ }
134
+
135
+ .ck-content .image-inline{
136
+ display:inline-flex;
137
+ max-width:100%;
138
+ align-items:flex-start;
139
+ }
140
+
141
+ .ck-content .image-inline picture{
142
+ display:flex;
143
+ }
144
+
145
+ .ck-content .image-inline picture,
146
+ .ck-content .image-inline img{
147
+ flex-grow:1;
148
+ flex-shrink:1;
149
+ max-width:100%;
150
+ }
@@ -2,165 +2,247 @@
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- :root {
6
-
5
+ :root{
6
+ --ck-color-image-caption-background:hsl(0, 0%, 97%);
7
+ --ck-color-image-caption-text:hsl(0, 0%, 20%);
8
+ --ck-color-image-caption-highlighted-background:hsl(52deg 100% 50%);
7
9
  }
8
- .ck.ck-image-insert-url {
9
- width: 400px;
10
- padding: var(--ck-spacing-large) var(--ck-spacing-large) 0;
11
-
10
+ @media (forced-colors: none){
11
+ .ck.ck-editor__editable .image > figcaption.image__caption_highlighted{
12
+ animation:ck-image-caption-highlight .6s ease-out;
13
+ }
14
+ }
15
+ @media (prefers-reduced-motion: reduce){
16
+ .ck.ck-editor__editable .image > figcaption.image__caption_highlighted{
17
+ animation:none;
12
18
  }
13
- .ck.ck-image-insert-url .ck-image-insert-url__action-row {
14
- display: grid;
15
- grid-template-columns: repeat(2, 1fr);
19
+ }
16
20
 
17
- }
18
- .ck.ck-editor__editable td .image-inline.image_resized img {
19
- max-width: 100%;
21
+ @keyframes ck-image-caption-highlight{
22
+ 0%{
23
+ background-color:var(--ck-color-image-caption-highlighted-background);
24
+ }
20
25
 
26
+ 100%{
27
+ background-color:var(--ck-color-image-caption-background);
28
+ }
21
29
  }
22
- [dir="ltr"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {
23
- margin-right: var(--ck-spacing-standard);
24
30
 
31
+ .ck.ck-image-insert-url{
32
+ width:400px;
33
+ padding:var(--ck-spacing-large) var(--ck-spacing-large) 0;
25
34
  }
26
- [dir="rtl"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {
27
- margin-left: var(--ck-spacing-standard);
28
35
 
29
- }
30
- .ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label {
31
- width: 4em;
36
+ .ck.ck-image-insert-url .ck-image-insert-url__action-row{
37
+ display:grid;
38
+ grid-template-columns:repeat(2, 1fr);
39
+ }
32
40
 
33
- }
34
- .ck.ck-image-custom-resize-form {
35
- display: flex;
36
- flex-direction: row;
37
- flex-wrap: nowrap;
38
- align-items: flex-start;
41
+ .ck.ck-editor__editable td .image-inline.image_resized img, .ck.ck-editor__editable th .image-inline.image_resized img{
42
+ max-width:100%;
43
+ }
39
44
 
45
+ [dir="ltr"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{
46
+ margin-right:var(--ck-spacing-standard);
40
47
  }
41
- .ck.ck-image-custom-resize-form .ck-labeled-field-view {
42
- display: inline-block;
43
48
 
49
+ [dir="rtl"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{
50
+ margin-left:var(--ck-spacing-standard);
44
51
  }
45
- .ck.ck-image-custom-resize-form .ck-label {
46
- display: none;
47
52
 
53
+ .ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label{
54
+ width:4em;
48
55
  }
49
- .ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__action:not(.ck-disabled) {
50
- background-color: var(--ck-color-button-on-background);
51
56
 
57
+ .ck.ck-image-custom-resize-form{
58
+ display:flex;
59
+ flex-direction:row;
60
+ flex-wrap:nowrap;
61
+ align-items:flex-start;
52
62
  }
53
- .ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__action:not(.ck-disabled)::after {
54
- display: none;
55
63
 
56
- }
57
- .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover > .ck-splitbutton__action:not(.ck-disabled) {
58
- background-color: var(--ck-color-button-on-hover-background);
64
+ .ck.ck-image-custom-resize-form .ck-labeled-field-view{
65
+ display:inline-block;
66
+ }
59
67
 
60
- }
61
- .ck.ck-text-alternative-form {
62
- display: flex;
63
- flex-direction: row;
64
- flex-wrap: nowrap;
68
+ .ck.ck-image-custom-resize-form .ck-label{
69
+ display:none;
70
+ }
65
71
 
66
- }
67
- .ck.ck-text-alternative-form .ck-labeled-field-view {
68
- display: inline-block;
72
+ @media screen and (max-width: 600px){
69
73
 
74
+ .ck.ck-image-custom-resize-form{
75
+ flex-wrap:wrap;
70
76
  }
71
- .ck.ck-text-alternative-form .ck-label {
72
- display: none;
73
77
 
74
- }
75
- .ck-vertical-form .ck-button::after {
76
- content: "";
77
- width: 0;
78
- position: absolute;
79
- right: -1px;
80
- top: -1px;
81
- bottom: -1px;
82
- z-index: 1;
78
+ .ck.ck-image-custom-resize-form .ck-labeled-field-view{
79
+ flex-basis:100%;
80
+ }
83
81
 
84
- }
85
- .ck-vertical-form .ck-button:focus::after {
86
- display: none;
82
+ .ck.ck-image-custom-resize-form .ck-button{
83
+ flex-basis:50%;
84
+ }
85
+ }
87
86
 
87
+ :root{
88
+ --ck-image-style-spacing:1.5em;
89
+ --ck-inline-image-style-spacing:calc(var(--ck-image-style-spacing) / 2);
88
90
  }
89
- .ck.ck-editor__editable .image {
90
- position: relative;
91
91
 
92
- }
93
- .ck.ck-editor__editable .image .ck-progress-bar {
94
- position: absolute;
95
- top: 0;
96
- left: 0;
92
+ .ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__action:not(.ck-disabled),
93
+ .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__action:not(.ck-disabled),
94
+ .ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__arrow:not(.ck-disabled),
95
+ .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__arrow:not(.ck-disabled),
96
+ .ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover),
97
+ .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover){
98
+ background-color:var(--ck-color-button-on-background);
99
+ }
100
+
101
+ .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{
102
+ display:none;
103
+ }
97
104
 
98
- }
99
- .ck-image-upload-complete-icon {
100
- display: block;
101
- position: absolute;
102
- top: min(var(--ck-spacing-medium), 6%);
103
- right: min(var(--ck-spacing-medium), 6%);
104
- border-radius: 50%;
105
- z-index: 1;
105
+ .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover > .ck-splitbutton__action:not(.ck-disabled),
106
+ .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover > .ck-splitbutton__arrow:not(.ck-disabled),
107
+ .ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover){
108
+ background-color:var(--ck-color-button-on-hover-background);
109
+ }
106
110
 
111
+ .ck.ck-text-alternative-form{
112
+ display:flex;
113
+ flex-direction:row;
114
+ flex-wrap:nowrap;
107
115
  }
108
- .ck-image-upload-complete-icon::after {
109
- content: "";
110
- position: absolute;
111
116
 
112
- }
113
- .ck .ck-upload-placeholder-loader {
114
- position: absolute;
115
- display: flex;
116
- align-items: center;
117
- justify-content: center;
118
- top: 0;
119
- left: 0;
117
+ .ck.ck-text-alternative-form .ck-labeled-field-view{
118
+ display:inline-block;
119
+ }
120
120
 
121
- }
122
- .ck .ck-upload-placeholder-loader::before {
123
- content: '';
124
- position: relative;
121
+ .ck.ck-text-alternative-form .ck-label{
122
+ display:none;
123
+ }
125
124
 
126
- }
127
- .ck.ck-editor__editable .image > figcaption.ck-placeholder::before {
128
- padding-left: inherit;
129
- padding-right: inherit;
130
- white-space: nowrap;
131
- overflow: hidden;
132
- text-overflow: ellipsis;
125
+ @media screen and (max-width: 600px){
133
126
 
127
+ .ck.ck-text-alternative-form{
128
+ flex-wrap:wrap;
134
129
  }
135
- .ck.ck-editor__editable .image {
136
- z-index: 1;
137
130
 
138
- }
139
- .ck.ck-editor__editable .image.ck-widget_selected {
140
- z-index: 2;
141
-
142
- }
143
- .ck.ck-editor__editable .image-inline {
144
- z-index: 1;
145
-
146
- }
147
- .ck.ck-editor__editable .image-inline.ck-widget_selected {
148
- z-index: 2;
149
-
150
- }
151
- .ck.ck-editor__editable .image-inline.ck-widget_selected ::selection {
152
- display: none;
131
+ .ck.ck-text-alternative-form .ck-labeled-field-view{
132
+ flex-basis:100%;
133
+ }
153
134
 
154
- }
155
- .ck.ck-editor__editable .image-inline img {
156
- height: auto;
157
-
158
- }
159
- .ck.ck-editor__editable td .image-inline img {
160
- max-width: none;
161
-
162
- }
163
- .ck.ck-editor__editable img.image_placeholder {
164
- background-size: 100% 100%;
165
-
166
- }
135
+ .ck.ck-text-alternative-form .ck-button{
136
+ flex-basis:50%;
137
+ }
138
+ }
139
+
140
+ .ck-vertical-form .ck-button::after{
141
+ content:"";
142
+ width:0;
143
+ position:absolute;
144
+ right:-1px;
145
+ top:-1px;
146
+ bottom:-1px;
147
+ z-index:1;
148
+ }
149
+
150
+ .ck-vertical-form .ck-button:focus::after{
151
+ display:none;
152
+ }
153
+
154
+ @media screen and (max-width: 600px){
155
+ .ck.ck-responsive-form .ck-button::after{
156
+ content:"";
157
+ width:0;
158
+ position:absolute;
159
+ right:-1px;
160
+ top:-1px;
161
+ bottom:-1px;
162
+ z-index:1;
163
+ }
164
+
165
+ .ck.ck-responsive-form .ck-button:focus::after{
166
+ display:none;
167
+ }
168
+ }
169
+
170
+ .ck.ck-editor__editable .image,
171
+ .ck.ck-editor__editable .image-inline{
172
+ position:relative;
173
+ }
174
+
175
+ .ck.ck-editor__editable .image .ck-progress-bar,
176
+ .ck.ck-editor__editable .image-inline .ck-progress-bar{
177
+ position:absolute;
178
+ top:0;
179
+ left:0;
180
+ }
181
+
182
+ .ck-image-upload-complete-icon{
183
+ display:block;
184
+ position:absolute;
185
+ top:min(var(--ck-spacing-medium), 6%);
186
+ right:min(var(--ck-spacing-medium), 6%);
187
+ border-radius:50%;
188
+ z-index:1;
189
+ }
190
+
191
+ .ck-image-upload-complete-icon::after{
192
+ content:"";
193
+ position:absolute;
194
+ }
195
+
196
+ .ck .ck-upload-placeholder-loader{
197
+ position:absolute;
198
+ display:flex;
199
+ align-items:center;
200
+ justify-content:center;
201
+ top:0;
202
+ left:0;
203
+ }
204
+
205
+ .ck .ck-upload-placeholder-loader::before{
206
+ content:'';
207
+ position:relative;
208
+ }
209
+
210
+ .ck.ck-editor__editable .image > figcaption.ck-placeholder::before{
211
+ padding-left:inherit;
212
+ padding-right:inherit;
213
+ white-space:nowrap;
214
+ overflow:hidden;
215
+ text-overflow:ellipsis;
216
+ }
217
+
218
+ .ck.ck-editor__editable .image{
219
+ z-index:1;
220
+ }
221
+
222
+ .ck.ck-editor__editable .image.ck-widget_selected{
223
+ z-index:2;
224
+ }
225
+
226
+ .ck.ck-editor__editable .image-inline{
227
+ z-index:1;
228
+ }
229
+
230
+ .ck.ck-editor__editable .image-inline.ck-widget_selected{
231
+ z-index:2;
232
+ }
233
+
234
+ .ck.ck-editor__editable .image-inline.ck-widget_selected ::selection{
235
+ display:none;
236
+ }
237
+
238
+ .ck.ck-editor__editable .image-inline img{
239
+ height:auto;
240
+ }
241
+
242
+ .ck.ck-editor__editable td .image-inline img, .ck.ck-editor__editable th .image-inline img{
243
+ max-width:none;
244
+ }
245
+
246
+ .ck.ck-editor__editable img.image_placeholder{
247
+ background-size:100% 100%;
248
+ }
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;