@_sh/strapi-plugin-ckeditor 2.0.2 → 2.0.4
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 +20 -20
- package/README.md +448 -448
- package/admin/src/components/CKEditorIcon.js +45 -45
- package/admin/src/components/Input/CKEditor/configs/base.js +627 -627
- package/admin/src/components/Input/CKEditor/configs/blockBaloon.js +25 -25
- package/admin/src/components/Input/CKEditor/configs/index.js +11 -11
- package/admin/src/components/Input/CKEditor/configs/toolbar.js +17 -17
- package/admin/src/components/Input/CKEditor/configs/toolbarBaloon.js +17 -17
- package/admin/src/components/Input/CKEditor/configuration.js +165 -165
- package/admin/src/components/Input/CKEditor/index.js +119 -119
- package/admin/src/components/Input/CKEditor/plugins/StrapiMediaLib.js +43 -43
- package/admin/src/components/Input/CKEditor/plugins/StrapiUploadAdapter.js +204 -203
- package/admin/src/components/Input/CKEditor/plugins/index.js +1 -1
- package/admin/src/components/Input/CKEditor/styling.js +16 -16
- package/admin/src/components/Input/CKEditor/theme/additional.js +212 -166
- package/admin/src/components/Input/CKEditor/theme/common.js +232 -277
- package/admin/src/components/Input/CKEditor/theme/dark.js +144 -144
- package/admin/src/components/Input/CKEditor/theme/index.js +12 -12
- package/admin/src/components/Input/CKEditor/theme/light.js +135 -135
- package/admin/src/components/Input/MediaLib/index.js +78 -78
- package/admin/src/components/Input/index.js +47 -47
- package/admin/src/index.js +109 -109
- package/admin/src/utils/getEditorConfig.js +37 -37
- package/admin/src/utils/pluginId.js +4 -4
- package/package.json +86 -86
- package/server/controllers/config.js +16 -16
- package/server/controllers/index.js +7 -7
- package/server/index.js +13 -13
- package/server/register.js +11 -11
- package/server/routes/index.js +15 -15
- package/server/services/config.js +19 -19
- package/server/services/index.js +7 -7
- package/strapi-admin.js +3 -3
- package/strapi-server.js +3 -3
|
@@ -1,277 +1,232 @@
|
|
|
1
|
-
import { css } from "styled-components";
|
|
2
|
-
|
|
3
|
-
export const common = css`
|
|
4
|
-
.ck {
|
|
5
|
-
--ck-color-image-caption-background: hsl(0, 0%, 97%);
|
|
6
|
-
--ck-color-image-caption-text: hsl(0, 0%, 20%);
|
|
7
|
-
--ck-color-mention-background: hsla(341, 100%, 30%, 0.1);
|
|
8
|
-
--ck-color-mention-text: hsl(341, 100%, 30%);
|
|
9
|
-
--ck-color-table-caption-background: hsl(0, 0%, 97%);
|
|
10
|
-
--ck-color-table-caption-text: hsl(0, 0%, 20%);
|
|
11
|
-
--ck-highlight-marker-blue: hsl(201, 97%, 72%);
|
|
12
|
-
--ck-highlight-marker-green: hsl(120, 93%, 68%);
|
|
13
|
-
--ck-highlight-marker-pink: hsl(345, 96%, 73%);
|
|
14
|
-
--ck-highlight-marker-yellow: hsl(60, 97%, 73%);
|
|
15
|
-
--ck-highlight-pen-green: hsl(112, 100%, 27%);
|
|
16
|
-
--ck-highlight-pen-red: hsl(0, 85%, 49%);
|
|
17
|
-
--ck-image-style-spacing: 1.5em;
|
|
18
|
-
--ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);
|
|
19
|
-
--ck-todo-list-checkmark-size: 16px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
.ck.ck-sticky-panel .ck-sticky-panel__content_sticky {
|
|
24
|
-
top: 64px !important;
|
|
25
|
-
}
|
|
26
|
-
.ck.ck-reset.ck-dropdown__panel.ck-dropdown__panel_sw.ck-dropdown__panel-visible {
|
|
27
|
-
border-radius: 4px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.ck-editor__main {
|
|
31
|
-
|
|
32
|
-
--ck-font-face: "Source Sans Pro", system-ui, Roboto, "Helvetica Neue", "Helvetica", Arial, sans-serif;
|
|
33
|
-
|
|
34
|
-
color: var(--ck-color-editor-base-text);
|
|
35
|
-
font-family: var(--ck-font-face);
|
|
36
|
-
|
|
37
|
-
* {
|
|
38
|
-
font: revert;
|
|
39
|
-
margin: revert;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
h1 {
|
|
44
|
-
font-size: 2.3em;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
h2 {
|
|
48
|
-
font-size: 1.84em;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
h3 {
|
|
52
|
-
font-size: 1.48em;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
h4 {
|
|
56
|
-
font-size: 1.22em;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
h5 {
|
|
60
|
-
font-size: 1.06em;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
h6 {
|
|
64
|
-
font-size: 1em;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
h1,
|
|
68
|
-
h2,
|
|
69
|
-
h3,
|
|
70
|
-
h4,
|
|
71
|
-
h5,
|
|
72
|
-
h6 {
|
|
73
|
-
line-height: 1.2em;
|
|
74
|
-
padding-top: .8em;
|
|
75
|
-
margin-bottom: .4em
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
blockquote,
|
|
79
|
-
ol,
|
|
80
|
-
p,
|
|
81
|
-
ul {
|
|
82
|
-
font-size: 1em;
|
|
83
|
-
line-height: 1.6em;
|
|
84
|
-
padding-top: .2em;
|
|
85
|
-
margin-bottom: var(--ck-spacing-large)
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
figcaption {
|
|
89
|
-
background-color: var(--ck-color-image-caption-background);
|
|
90
|
-
caption-side: bottom;
|
|
91
|
-
color: var(--ck-color-image-caption-text);
|
|
92
|
-
display: table-caption;
|
|
93
|
-
font-size: 0.75em;
|
|
94
|
-
outline-offset: -1px;
|
|
95
|
-
padding: 0.6em;
|
|
96
|
-
word-break: break-word;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
a {
|
|
100
|
-
text-decoration: none;
|
|
101
|
-
color: #1b3af2;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
a:hover {
|
|
105
|
-
text-decoration: underline;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.table {
|
|
109
|
-
margin: 0;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
ul.todo-list {
|
|
113
|
-
list-style: none;
|
|
114
|
-
margin: revert;
|
|
115
|
-
color: revert;
|
|
116
|
-
font-family: revert;
|
|
117
|
-
margin-left: 2rem;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
ul,
|
|
121
|
-
ol {
|
|
122
|
-
list-style: initial;
|
|
123
|
-
margin-left: 2rem;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
ol {
|
|
127
|
-
list-style: decimal;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
sub {
|
|
131
|
-
vertical-align: sub;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
sup {
|
|
135
|
-
vertical-align: super;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.ck.ck-content.ck-editor__editable {
|
|
139
|
-
line-height: initial;
|
|
140
|
-
min-height: 12.5rem;
|
|
141
|
-
border-bottom-left-radius: 0.25rem;
|
|
142
|
-
border-bottom-right-radius: 0.25rem;
|
|
143
|
-
transition-property: border-color, box-shadow, max-height;
|
|
144
|
-
transition-timing-function: ease-in-out;
|
|
145
|
-
transition-duration: 0.5s;
|
|
146
|
-
&.ck-focused:not(.ck-editor__nested-editable) {
|
|
147
|
-
border: 1px solid var(--ck-color-base-border);
|
|
148
|
-
/* border: var(--ck-focus-ring); */
|
|
149
|
-
box-shadow: none;
|
|
150
|
-
transition-property: border-color, box-shadow, max-height;
|
|
151
|
-
transition-timing-function: ease-in-out;
|
|
152
|
-
transition-duration: 0.5s;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.ck-focused,
|
|
157
|
-
.ck-blurred {
|
|
158
|
-
overflow-y: auto;
|
|
159
|
-
overflow-x: hidden;
|
|
160
|
-
transition: max-height 0.5s ease-in-out;
|
|
161
|
-
::-webkit-scrollbar {
|
|
162
|
-
width: 7px;
|
|
163
|
-
}
|
|
164
|
-
::-webkit-scrollbar-track {
|
|
165
|
-
background: var(--ck-scroll-track-background);
|
|
166
|
-
border: none;
|
|
167
|
-
}
|
|
168
|
-
::-webkit-scrollbar-thumb {
|
|
169
|
-
transition: background 2s;
|
|
170
|
-
background: var(--ck-scroll-thumb-background);
|
|
171
|
-
border: 1px solid var(--ck-scroll-thumb-border-color);
|
|
172
|
-
}
|
|
173
|
-
::-webkit-scrollbar-thumb:hover {
|
|
174
|
-
transition: background 2s;
|
|
175
|
-
background: var(--ck-scroll-thumb-hover-background);
|
|
176
|
-
}
|
|
177
|
-
::-webkit-scrollbar-thumb:active {
|
|
178
|
-
background: var(--ck-scroll-thumb-active-background);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.ck .ck-source-editing-area textarea{
|
|
184
|
-
color: var(--ck-color-text);
|
|
185
|
-
background-color: var(--ck-color-base-background);
|
|
186
|
-
border: 1px solid var(--ck-color-base-border) !important;
|
|
187
|
-
box-shadow: none !important;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.ck .ck-block-toolbar-button {
|
|
191
|
-
min-width: 0 !important;
|
|
192
|
-
min-height: 0 !important;
|
|
193
|
-
width: 20px !important;
|
|
194
|
-
height: 25px !important;
|
|
195
|
-
margin-left: -2px !important ;
|
|
196
|
-
|
|
197
|
-
& svg {
|
|
198
|
-
color: var(--ck-color-text) !important;
|
|
199
|
-
position: absolute;
|
|
200
|
-
width: 20px;
|
|
201
|
-
height: 20px;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.ck-word-count {
|
|
206
|
-
margin-top: 0.3rem;
|
|
207
|
-
display: flex;
|
|
208
|
-
justify-content: end;
|
|
209
|
-
gap: 0.3rem;
|
|
210
|
-
font-size: 0.7rem;
|
|
211
|
-
font-weight: 500;
|
|
212
|
-
text-transform: lowercase;
|
|
213
|
-
/* color: #b3b3c4; */
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.ck[dir=rtl]{
|
|
217
|
-
.ck-block-toolbar-button {
|
|
218
|
-
margin-left: 2px !important ;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
.ck .ck-color-input{
|
|
239
|
-
margin: 0 0 8px 8px !important;
|
|
240
|
-
padding: 3px 0 0 5px !important;
|
|
241
|
-
border-radius:0px !important;
|
|
242
|
-
width: 115px !important;
|
|
243
|
-
z-index: 1;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.ck .ck-color-picker{
|
|
247
|
-
margin: 0 3px 8px 3px !important;
|
|
248
|
-
border-radius:0px !important;
|
|
249
|
-
width: 80px !important;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.ck .ck-color-picker-save{
|
|
253
|
-
margin: 0 0 8px 0 !important;
|
|
254
|
-
border-radius:0px !important;
|
|
255
|
-
width: 50px !important;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
.ck.ck-color-ui-dropdown {
|
|
260
|
-
--ck-color-grid-tile-size: 20px;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.ck.ck-color-ui-dropdown .ck-color-grid {
|
|
264
|
-
grid-gap: 1px;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.ck.ck-color-ui-dropdown .ck-color-grid .ck-button {
|
|
268
|
-
border-radius: 0;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.ck.ck-color-ui-dropdown .ck.ck-color-grid .ck-color-grid__tile:hover:not(.ck-disabled),
|
|
272
|
-
.ck.ck-color-ui-dropdown .ck.ck-color-grid .ck-color-grid__tile:focus:not(.ck-disabled) {
|
|
273
|
-
z-index: 1;
|
|
274
|
-
transform: scale(1.3);
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
`;
|
|
1
|
+
import { css } from "styled-components";
|
|
2
|
+
|
|
3
|
+
export const common = css`
|
|
4
|
+
.ck {
|
|
5
|
+
--ck-color-image-caption-background: hsl(0, 0%, 97%);
|
|
6
|
+
--ck-color-image-caption-text: hsl(0, 0%, 20%);
|
|
7
|
+
--ck-color-mention-background: hsla(341, 100%, 30%, 0.1);
|
|
8
|
+
--ck-color-mention-text: hsl(341, 100%, 30%);
|
|
9
|
+
--ck-color-table-caption-background: hsl(0, 0%, 97%);
|
|
10
|
+
--ck-color-table-caption-text: hsl(0, 0%, 20%);
|
|
11
|
+
--ck-highlight-marker-blue: hsl(201, 97%, 72%);
|
|
12
|
+
--ck-highlight-marker-green: hsl(120, 93%, 68%);
|
|
13
|
+
--ck-highlight-marker-pink: hsl(345, 96%, 73%);
|
|
14
|
+
--ck-highlight-marker-yellow: hsl(60, 97%, 73%);
|
|
15
|
+
--ck-highlight-pen-green: hsl(112, 100%, 27%);
|
|
16
|
+
--ck-highlight-pen-red: hsl(0, 85%, 49%);
|
|
17
|
+
--ck-image-style-spacing: 1.5em;
|
|
18
|
+
--ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);
|
|
19
|
+
--ck-todo-list-checkmark-size: 16px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
.ck.ck-sticky-panel .ck-sticky-panel__content_sticky {
|
|
24
|
+
top: 64px !important;
|
|
25
|
+
}
|
|
26
|
+
.ck.ck-reset.ck-dropdown__panel.ck-dropdown__panel_sw.ck-dropdown__panel-visible {
|
|
27
|
+
border-radius: 4px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.ck-editor__main {
|
|
31
|
+
|
|
32
|
+
--ck-font-face: "Source Sans Pro", system-ui, Roboto, "Helvetica Neue", "Helvetica", Arial, sans-serif;
|
|
33
|
+
|
|
34
|
+
color: var(--ck-color-editor-base-text);
|
|
35
|
+
font-family: var(--ck-font-face);
|
|
36
|
+
|
|
37
|
+
* {
|
|
38
|
+
font: revert;
|
|
39
|
+
margin: revert;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
h1 {
|
|
44
|
+
font-size: 2.3em;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
h2 {
|
|
48
|
+
font-size: 1.84em;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
h3 {
|
|
52
|
+
font-size: 1.48em;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
h4 {
|
|
56
|
+
font-size: 1.22em;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
h5 {
|
|
60
|
+
font-size: 1.06em;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
h6 {
|
|
64
|
+
font-size: 1em;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
h1,
|
|
68
|
+
h2,
|
|
69
|
+
h3,
|
|
70
|
+
h4,
|
|
71
|
+
h5,
|
|
72
|
+
h6 {
|
|
73
|
+
line-height: 1.2em;
|
|
74
|
+
padding-top: .8em;
|
|
75
|
+
margin-bottom: .4em
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
blockquote,
|
|
79
|
+
ol,
|
|
80
|
+
p,
|
|
81
|
+
ul {
|
|
82
|
+
font-size: 1em;
|
|
83
|
+
line-height: 1.6em;
|
|
84
|
+
padding-top: .2em;
|
|
85
|
+
margin-bottom: var(--ck-spacing-large)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
figcaption {
|
|
89
|
+
background-color: var(--ck-color-image-caption-background);
|
|
90
|
+
caption-side: bottom;
|
|
91
|
+
color: var(--ck-color-image-caption-text);
|
|
92
|
+
display: table-caption;
|
|
93
|
+
font-size: 0.75em;
|
|
94
|
+
outline-offset: -1px;
|
|
95
|
+
padding: 0.6em;
|
|
96
|
+
word-break: break-word;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
a {
|
|
100
|
+
text-decoration: none;
|
|
101
|
+
color: #1b3af2;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
a:hover {
|
|
105
|
+
text-decoration: underline;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.table {
|
|
109
|
+
margin: 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
ul.todo-list {
|
|
113
|
+
list-style: none;
|
|
114
|
+
margin: revert;
|
|
115
|
+
color: revert;
|
|
116
|
+
font-family: revert;
|
|
117
|
+
margin-left: 2rem;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
ul,
|
|
121
|
+
ol {
|
|
122
|
+
list-style: initial;
|
|
123
|
+
margin-left: 2rem;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
ol {
|
|
127
|
+
list-style: decimal;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
sub {
|
|
131
|
+
vertical-align: sub;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
sup {
|
|
135
|
+
vertical-align: super;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.ck.ck-content.ck-editor__editable {
|
|
139
|
+
line-height: initial;
|
|
140
|
+
min-height: 12.5rem;
|
|
141
|
+
border-bottom-left-radius: 0.25rem;
|
|
142
|
+
border-bottom-right-radius: 0.25rem;
|
|
143
|
+
transition-property: border-color, box-shadow, max-height;
|
|
144
|
+
transition-timing-function: ease-in-out;
|
|
145
|
+
transition-duration: 0.5s;
|
|
146
|
+
&.ck-focused:not(.ck-editor__nested-editable) {
|
|
147
|
+
border: 1px solid var(--ck-color-base-border);
|
|
148
|
+
/* border: var(--ck-focus-ring); */
|
|
149
|
+
box-shadow: none;
|
|
150
|
+
transition-property: border-color, box-shadow, max-height;
|
|
151
|
+
transition-timing-function: ease-in-out;
|
|
152
|
+
transition-duration: 0.5s;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.ck-focused,
|
|
157
|
+
.ck-blurred {
|
|
158
|
+
overflow-y: auto;
|
|
159
|
+
overflow-x: hidden;
|
|
160
|
+
transition: max-height 0.5s ease-in-out;
|
|
161
|
+
::-webkit-scrollbar {
|
|
162
|
+
width: 7px;
|
|
163
|
+
}
|
|
164
|
+
::-webkit-scrollbar-track {
|
|
165
|
+
background: var(--ck-scroll-track-background);
|
|
166
|
+
border: none;
|
|
167
|
+
}
|
|
168
|
+
::-webkit-scrollbar-thumb {
|
|
169
|
+
transition: background 2s;
|
|
170
|
+
background: var(--ck-scroll-thumb-background);
|
|
171
|
+
border: 1px solid var(--ck-scroll-thumb-border-color);
|
|
172
|
+
}
|
|
173
|
+
::-webkit-scrollbar-thumb:hover {
|
|
174
|
+
transition: background 2s;
|
|
175
|
+
background: var(--ck-scroll-thumb-hover-background);
|
|
176
|
+
}
|
|
177
|
+
::-webkit-scrollbar-thumb:active {
|
|
178
|
+
background: var(--ck-scroll-thumb-active-background);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.ck .ck-source-editing-area textarea{
|
|
184
|
+
color: var(--ck-color-text);
|
|
185
|
+
background-color: var(--ck-color-base-background);
|
|
186
|
+
border: 1px solid var(--ck-color-base-border) !important;
|
|
187
|
+
box-shadow: none !important;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.ck .ck-block-toolbar-button {
|
|
191
|
+
min-width: 0 !important;
|
|
192
|
+
min-height: 0 !important;
|
|
193
|
+
width: 20px !important;
|
|
194
|
+
height: 25px !important;
|
|
195
|
+
margin-left: -2px !important ;
|
|
196
|
+
|
|
197
|
+
& svg {
|
|
198
|
+
color: var(--ck-color-text) !important;
|
|
199
|
+
position: absolute;
|
|
200
|
+
width: 20px;
|
|
201
|
+
height: 20px;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.ck-word-count {
|
|
206
|
+
margin-top: 0.3rem;
|
|
207
|
+
display: flex;
|
|
208
|
+
justify-content: end;
|
|
209
|
+
gap: 0.3rem;
|
|
210
|
+
font-size: 0.7rem;
|
|
211
|
+
font-weight: 500;
|
|
212
|
+
text-transform: lowercase;
|
|
213
|
+
/* color: #b3b3c4; */
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.ck[dir=rtl]{
|
|
217
|
+
.ck-block-toolbar-button {
|
|
218
|
+
margin-left: 2px !important ;
|
|
219
|
+
}
|
|
220
|
+
& + div{
|
|
221
|
+
justify-content: flex-start;
|
|
222
|
+
& > .ck-word-count {
|
|
223
|
+
& > div:first-child{
|
|
224
|
+
order: 2;
|
|
225
|
+
}
|
|
226
|
+
& > div:last-child{
|
|
227
|
+
order: 1;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
`;
|