@ckeditor/ckeditor5-restricted-editing 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/ckeditor5-metadata.json +6 -6
- package/dist/index-editor.css +59 -0
- package/dist/index.css +61 -0
- package/dist/index.css.map +1 -0
- package/dist/index.js.map +1 -1
- package/{src → dist}/restrictededitingexceptionautocommand.d.ts +1 -1
- package/{src → dist}/restrictededitingexceptionblockcommand.d.ts +1 -1
- package/{src → dist}/restrictededitingexceptioncommand.d.ts +1 -1
- package/{src → dist}/restrictededitingmode/converters.d.ts +2 -2
- package/{src → dist}/restrictededitingmode/utils.d.ts +2 -2
- package/{src → dist}/restrictededitingmode.d.ts +1 -1
- package/{src → dist}/restrictededitingmodeediting.d.ts +1 -1
- package/{src → dist}/restrictededitingmodenavigationcommand.d.ts +1 -1
- package/{src → dist}/restrictededitingmodeui.d.ts +1 -1
- package/{src → dist}/standardeditingmode.d.ts +1 -1
- package/{src → dist}/standardeditingmodeediting.d.ts +1 -1
- package/{src → dist}/standardeditingmodeui.d.ts +1 -1
- package/package.json +25 -47
- package/build/restricted-editing.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 -11
- package/lang/translations/af.po +0 -48
- package/lang/translations/ar.po +0 -48
- package/lang/translations/ast.po +0 -48
- package/lang/translations/az.po +0 -48
- package/lang/translations/be.po +0 -48
- package/lang/translations/bg.po +0 -48
- package/lang/translations/bn.po +0 -48
- package/lang/translations/bs.po +0 -48
- package/lang/translations/ca.po +0 -48
- package/lang/translations/cs.po +0 -48
- package/lang/translations/da.po +0 -48
- package/lang/translations/de-ch.po +0 -48
- package/lang/translations/de.po +0 -48
- package/lang/translations/el.po +0 -48
- package/lang/translations/en-au.po +0 -48
- package/lang/translations/en-gb.po +0 -48
- package/lang/translations/en.po +0 -48
- package/lang/translations/eo.po +0 -48
- package/lang/translations/es-co.po +0 -48
- package/lang/translations/es.po +0 -48
- package/lang/translations/et.po +0 -48
- package/lang/translations/eu.po +0 -48
- package/lang/translations/fa.po +0 -48
- package/lang/translations/fi.po +0 -48
- package/lang/translations/fr.po +0 -48
- package/lang/translations/gl.po +0 -48
- package/lang/translations/gu.po +0 -48
- package/lang/translations/he.po +0 -48
- package/lang/translations/hi.po +0 -48
- package/lang/translations/hr.po +0 -48
- package/lang/translations/hu.po +0 -48
- package/lang/translations/hy.po +0 -48
- package/lang/translations/id.po +0 -48
- package/lang/translations/it.po +0 -48
- package/lang/translations/ja.po +0 -48
- package/lang/translations/jv.po +0 -48
- package/lang/translations/kk.po +0 -48
- package/lang/translations/km.po +0 -48
- package/lang/translations/kn.po +0 -48
- package/lang/translations/ko.po +0 -48
- package/lang/translations/ku.po +0 -48
- package/lang/translations/lt.po +0 -48
- package/lang/translations/lv.po +0 -48
- package/lang/translations/ms.po +0 -48
- package/lang/translations/nb.po +0 -48
- package/lang/translations/ne.po +0 -48
- package/lang/translations/nl.po +0 -48
- package/lang/translations/no.po +0 -48
- package/lang/translations/oc.po +0 -48
- package/lang/translations/pl.po +0 -48
- package/lang/translations/pt-br.po +0 -48
- package/lang/translations/pt.po +0 -48
- package/lang/translations/ro.po +0 -48
- package/lang/translations/ru.po +0 -48
- package/lang/translations/si.po +0 -48
- package/lang/translations/sk.po +0 -48
- package/lang/translations/sl.po +0 -48
- package/lang/translations/sq.po +0 -48
- package/lang/translations/sr-latn.po +0 -48
- package/lang/translations/sr.po +0 -48
- package/lang/translations/sv.po +0 -48
- package/lang/translations/th.po +0 -48
- package/lang/translations/ti.po +0 -48
- package/lang/translations/tk.po +0 -48
- package/lang/translations/tr.po +0 -48
- package/lang/translations/tt.po +0 -48
- package/lang/translations/ug.po +0 -48
- package/lang/translations/uk.po +0 -48
- package/lang/translations/ur.po +0 -48
- package/lang/translations/uz.po +0 -48
- package/lang/translations/vi.po +0 -48
- package/lang/translations/zh-cn.po +0 -48
- package/lang/translations/zh.po +0 -48
- package/src/augmentation.js +0 -5
- package/src/index.js +0 -20
- package/src/restrictededitingconfig.js +0 -5
- package/src/restrictededitingexceptionautocommand.js +0 -73
- package/src/restrictededitingexceptionblockcommand.js +0 -203
- package/src/restrictededitingexceptioncommand.js +0 -61
- package/src/restrictededitingmode/converters.js +0 -177
- package/src/restrictededitingmode/utils.js +0 -69
- package/src/restrictededitingmode.js +0 -39
- package/src/restrictededitingmodeediting.js +0 -512
- package/src/restrictededitingmodenavigationcommand.js +0 -99
- package/src/restrictededitingmodeui.js +0 -139
- package/src/standardeditingmode.js +0 -36
- package/src/standardeditingmodeediting.js +0 -193
- package/src/standardeditingmodeui.js +0 -150
- package/theme/restrictedediting.css +0 -10
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/restrictededitingconfig.d.ts +0 -0
package/ckeditor5-metadata.json
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
"className": "RestrictedEditingMode",
|
|
6
6
|
"description": "Enables defining which parts of a document can be editable for users with restricted editing rights. It allows you to edit only within the created editable areas.",
|
|
7
7
|
"docs": "features/restricted-editing.html",
|
|
8
|
-
"path": "src/restrictededitingmode.
|
|
8
|
+
"path": "src/restrictededitingmode.ts",
|
|
9
9
|
"uiComponents": [
|
|
10
10
|
{
|
|
11
11
|
"type": "Dropdown",
|
|
12
12
|
"name": "restrictedEditing",
|
|
13
|
-
"
|
|
13
|
+
"iconName": "IconContentLock"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
16
|
"htmlOutput": [
|
|
@@ -29,22 +29,22 @@
|
|
|
29
29
|
"className": "StandardEditingMode",
|
|
30
30
|
"description": "Enables freely editing the document and defining which parts can be editable for users with restricted editing rights. It allows you to create editable areas.",
|
|
31
31
|
"docs": "features/restricted-editing.html#running-the-standard-editing-mode",
|
|
32
|
-
"path": "src/standardeditingmode.
|
|
32
|
+
"path": "src/standardeditingmode.ts",
|
|
33
33
|
"uiComponents": [
|
|
34
34
|
{
|
|
35
35
|
"type": "Button",
|
|
36
36
|
"name": "restrictedEditingException:inline",
|
|
37
|
-
"
|
|
37
|
+
"iconName": "IconContentUnlock"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"type": "Button",
|
|
41
41
|
"name": "restrictedEditingException:block",
|
|
42
|
-
"
|
|
42
|
+
"iconName": "IconContentUnlock"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"type": "Dropdown",
|
|
46
46
|
"name": "restrictedEditingException:dropdown",
|
|
47
|
-
"
|
|
47
|
+
"iconName": "IconContentUnlock"
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"htmlOutput": [
|
package/dist/index-editor.css
CHANGED
|
@@ -2,3 +2,62 @@
|
|
|
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-color-restricted-editing-exception-background:#ffa94c33;
|
|
7
|
+
--ck-color-restricted-editing-exception-hover-background:#ffa94c59;
|
|
8
|
+
--ck-color-restricted-editing-exception-brackets:#cc690066;
|
|
9
|
+
--ck-color-restricted-editing-selected-exception-background:#ffa94c80;
|
|
10
|
+
--ck-color-restricted-editing-selected-exception-brackets:#cc690099;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ck-editor__editable .restricted-editing-exception{
|
|
14
|
+
background-color:var(--ck-color-restricted-editing-exception-background);
|
|
15
|
+
border:1px solid;
|
|
16
|
+
border-image:linear-gradient(to right,
|
|
17
|
+
var(--ck-color-restricted-editing-exception-brackets) 0%,
|
|
18
|
+
var(--ck-color-restricted-editing-exception-brackets) 5px,
|
|
19
|
+
#0000 6px,
|
|
20
|
+
#0000 calc(100% - 6px),
|
|
21
|
+
var(--ck-color-restricted-editing-exception-brackets) calc(100% - 5px),
|
|
22
|
+
var(--ck-color-restricted-editing-exception-brackets) 100%) 1;
|
|
23
|
+
transition:background .2s ease-in-out;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media (prefers-reduced-motion: reduce){
|
|
27
|
+
.ck-editor__editable .restricted-editing-exception{
|
|
28
|
+
transition:none;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ck-editor__editable .restricted-editing-exception.restricted-editing-exception_selected{
|
|
33
|
+
background-color:var(--ck-color-restricted-editing-selected-exception-background);
|
|
34
|
+
border-image:linear-gradient(to right,
|
|
35
|
+
var(--ck-color-restricted-editing-selected-exception-brackets) 0%,
|
|
36
|
+
var(--ck-color-restricted-editing-selected-exception-brackets) 5px,
|
|
37
|
+
var(--ck-color-restricted-editing-selected-exception-brackets) calc(100% - 5px),
|
|
38
|
+
var(--ck-color-restricted-editing-selected-exception-brackets) 100%) 1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ck-editor__editable .restricted-editing-exception.restricted-editing-exception_collapsed{
|
|
42
|
+
padding-left:1ch;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ck-restricted-editing_mode_restricted{
|
|
46
|
+
cursor:default;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.ck-restricted-editing_mode_restricted *{
|
|
50
|
+
cursor:default;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ck-restricted-editing_mode_restricted .restricted-editing-exception{
|
|
54
|
+
cursor:text;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ck-restricted-editing_mode_restricted .restricted-editing-exception *{
|
|
58
|
+
cursor:text;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ck-restricted-editing_mode_restricted .restricted-editing-exception:hover{
|
|
62
|
+
background:var(--ck-color-restricted-editing-exception-hover-background);
|
|
63
|
+
}
|
package/dist/index.css
CHANGED
|
@@ -2,3 +2,64 @@
|
|
|
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-color-restricted-editing-exception-background: #ffa94c33;
|
|
7
|
+
--ck-color-restricted-editing-exception-hover-background: #ffa94c59;
|
|
8
|
+
--ck-color-restricted-editing-exception-brackets: #cc690066;
|
|
9
|
+
--ck-color-restricted-editing-selected-exception-background: #ffa94c80;
|
|
10
|
+
--ck-color-restricted-editing-selected-exception-brackets: #cc690099;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ck-editor__editable .restricted-editing-exception {
|
|
14
|
+
background-color: var(--ck-color-restricted-editing-exception-background);
|
|
15
|
+
border: 1px solid;
|
|
16
|
+
border-image: linear-gradient(to right,
|
|
17
|
+
var(--ck-color-restricted-editing-exception-brackets) 0%,
|
|
18
|
+
var(--ck-color-restricted-editing-exception-brackets) 5px,
|
|
19
|
+
#0000 6px,
|
|
20
|
+
#0000 calc(100% - 6px),
|
|
21
|
+
var(--ck-color-restricted-editing-exception-brackets) calc(100% - 5px),
|
|
22
|
+
var(--ck-color-restricted-editing-exception-brackets) 100%) 1;
|
|
23
|
+
transition: background .2s ease-in-out;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media (prefers-reduced-motion: reduce) {
|
|
27
|
+
.ck-editor__editable .restricted-editing-exception {
|
|
28
|
+
transition: none;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ck-editor__editable .restricted-editing-exception.restricted-editing-exception_selected {
|
|
33
|
+
background-color: var(--ck-color-restricted-editing-selected-exception-background);
|
|
34
|
+
border-image: linear-gradient(to right,
|
|
35
|
+
var(--ck-color-restricted-editing-selected-exception-brackets) 0%,
|
|
36
|
+
var(--ck-color-restricted-editing-selected-exception-brackets) 5px,
|
|
37
|
+
var(--ck-color-restricted-editing-selected-exception-brackets) calc(100% - 5px),
|
|
38
|
+
var(--ck-color-restricted-editing-selected-exception-brackets) 100%) 1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ck-editor__editable .restricted-editing-exception.restricted-editing-exception_collapsed {
|
|
42
|
+
padding-left: 1ch;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ck-restricted-editing_mode_restricted {
|
|
46
|
+
cursor: default;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.ck-restricted-editing_mode_restricted * {
|
|
50
|
+
cursor: default;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ck-restricted-editing_mode_restricted .restricted-editing-exception {
|
|
54
|
+
cursor: text;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ck-restricted-editing_mode_restricted .restricted-editing-exception * {
|
|
58
|
+
cursor: text;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ck-restricted-editing_mode_restricted .restricted-editing-exception:hover {
|
|
62
|
+
background: var(--ck-color-restricted-editing-exception-hover-background);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/*# sourceMappingURL=index.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../theme/restrictedediting.css","index.css"],"names":[],"mappings":";;;;AAKA,CAAA,IAAA,CAAA;ACJA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ;AAC/D,CAAC,CAAC,CAAC,CAAC,EAAE,C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;AAEA,CAAC,EAAE,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC;AAC3E,CAAC,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC;AAC3E;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * 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--ck-color-restricted-editing-exception-background: hsla(31, 100%, 65%, .2);\n\t--ck-color-restricted-editing-exception-hover-background: hsla(31, 100%, 65%, .35);\n\t--ck-color-restricted-editing-exception-brackets: hsla(31, 100%, 40%, .4);\n\t--ck-color-restricted-editing-selected-exception-background: hsla(31, 100%, 65%, .5);\n\t--ck-color-restricted-editing-selected-exception-brackets: hsla(31, 100%, 40%, .6);\n}\n\n.ck-editor__editable .restricted-editing-exception {\n\ttransition: .2s ease-in-out background;\n\tbackground-color: var(--ck-color-restricted-editing-exception-background);\n\tborder: 1px solid;\n\tborder-image: linear-gradient(\n\t\tto right,\n\t\tvar(--ck-color-restricted-editing-exception-brackets) 0%,\n\t\tvar(--ck-color-restricted-editing-exception-brackets) 5px,\n\t\thsla(0, 0%, 0%, 0) 6px,\n\t\thsla(0, 0%, 0%, 0) calc(100% - 6px),\n\t\tvar(--ck-color-restricted-editing-exception-brackets) calc(100% - 5px),\n\t\tvar(--ck-color-restricted-editing-exception-brackets) 100%\n\t) 1;\n\n\t@media (prefers-reduced-motion: reduce) {\n\t\ttransition: none;\n\t}\n\n\t&.restricted-editing-exception_selected {\n\t\tbackground-color: var(--ck-color-restricted-editing-selected-exception-background);\n\t\tborder-image: linear-gradient(\n\t\t\tto right,\n\t\t\tvar(--ck-color-restricted-editing-selected-exception-brackets) 0%,\n\t\t\tvar(--ck-color-restricted-editing-selected-exception-brackets) 5px,\n\t\t\tvar(--ck-color-restricted-editing-selected-exception-brackets) calc(100% - 5px),\n\t\t\tvar(--ck-color-restricted-editing-selected-exception-brackets) 100%\n\t\t) 1;\n\t}\n\n\t&.restricted-editing-exception_collapsed {\n\t\t/* Empty exception should have the same width as exception with at least 1 char */\n\t\tpadding-left: 1ch;\n\t}\n}\n\n.ck-restricted-editing_mode_restricted {\n\tcursor: default;\n\n\t/* We also have to override all elements inside the restricted editable to prevent cursor switching between default and text\n\tduring the pointer movement. */\n\t& * {\n\t\tcursor: default;\n\t}\n\n\t& .restricted-editing-exception {\n\t\tcursor: text;\n\n\t\t& * {\n\t\t\tcursor: text;\n\t\t}\n\n\t\t&:hover {\n\t\t\tbackground: var(--ck-color-restricted-editing-exception-hover-background);\n\t\t}\n\t}\n}\n",":root {\n --ck-color-restricted-editing-exception-background: #ffa94c33;\n --ck-color-restricted-editing-exception-hover-background: #ffa94c59;\n --ck-color-restricted-editing-exception-brackets: #cc690066;\n --ck-color-restricted-editing-selected-exception-background: #ffa94c80;\n --ck-color-restricted-editing-selected-exception-brackets: #cc690099;\n}\n\n.ck-editor__editable .restricted-editing-exception {\n background-color: var(--ck-color-restricted-editing-exception-background);\n border: 1px solid;\n border-image: linear-gradient(to right,\n\t\tvar(--ck-color-restricted-editing-exception-brackets) 0%,\n\t\tvar(--ck-color-restricted-editing-exception-brackets) 5px,\n\t\t#0000 6px,\n\t\t#0000 calc(100% - 6px),\n\t\tvar(--ck-color-restricted-editing-exception-brackets) calc(100% - 5px),\n\t\tvar(--ck-color-restricted-editing-exception-brackets) 100%) 1;\n transition: background .2s ease-in-out;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .ck-editor__editable .restricted-editing-exception {\n transition: none;\n }\n}\n\n.ck-editor__editable .restricted-editing-exception.restricted-editing-exception_selected {\n background-color: var(--ck-color-restricted-editing-selected-exception-background);\n border-image: linear-gradient(to right,\n\t\t\tvar(--ck-color-restricted-editing-selected-exception-brackets) 0%,\n\t\t\tvar(--ck-color-restricted-editing-selected-exception-brackets) 5px,\n\t\t\tvar(--ck-color-restricted-editing-selected-exception-brackets) calc(100% - 5px),\n\t\t\tvar(--ck-color-restricted-editing-selected-exception-brackets) 100%) 1;\n}\n\n.ck-editor__editable .restricted-editing-exception.restricted-editing-exception_collapsed {\n padding-left: 1ch;\n}\n\n.ck-restricted-editing_mode_restricted {\n cursor: default;\n}\n\n.ck-restricted-editing_mode_restricted * {\n cursor: default;\n}\n\n.ck-restricted-editing_mode_restricted .restricted-editing-exception {\n cursor: text;\n}\n\n.ck-restricted-editing_mode_restricted .restricted-editing-exception * {\n cursor: text;\n}\n\n.ck-restricted-editing_mode_restricted .restricted-editing-exception:hover {\n background: var(--ck-color-restricted-editing-exception-hover-background);\n}\n\n/*# sourceMappingURL=index.css.map */"]}
|