@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.
Files changed (184) hide show
  1. package/ckeditor5-metadata.json +6 -6
  2. package/dist/index-editor.css +59 -0
  3. package/dist/index.css +61 -0
  4. package/dist/index.css.map +1 -0
  5. package/dist/index.js.map +1 -1
  6. package/{src → dist}/restrictededitingexceptionautocommand.d.ts +1 -1
  7. package/{src → dist}/restrictededitingexceptionblockcommand.d.ts +1 -1
  8. package/{src → dist}/restrictededitingexceptioncommand.d.ts +1 -1
  9. package/{src → dist}/restrictededitingmode/converters.d.ts +2 -2
  10. package/{src → dist}/restrictededitingmode/utils.d.ts +2 -2
  11. package/{src → dist}/restrictededitingmode.d.ts +1 -1
  12. package/{src → dist}/restrictededitingmodeediting.d.ts +1 -1
  13. package/{src → dist}/restrictededitingmodenavigationcommand.d.ts +1 -1
  14. package/{src → dist}/restrictededitingmodeui.d.ts +1 -1
  15. package/{src → dist}/standardeditingmode.d.ts +1 -1
  16. package/{src → dist}/standardeditingmodeediting.d.ts +1 -1
  17. package/{src → dist}/standardeditingmodeui.d.ts +1 -1
  18. package/package.json +25 -47
  19. package/build/restricted-editing.js +0 -5
  20. package/build/translations/af.js +0 -1
  21. package/build/translations/ar.js +0 -1
  22. package/build/translations/ast.js +0 -1
  23. package/build/translations/az.js +0 -1
  24. package/build/translations/be.js +0 -1
  25. package/build/translations/bg.js +0 -1
  26. package/build/translations/bn.js +0 -1
  27. package/build/translations/bs.js +0 -1
  28. package/build/translations/ca.js +0 -1
  29. package/build/translations/cs.js +0 -1
  30. package/build/translations/da.js +0 -1
  31. package/build/translations/de-ch.js +0 -1
  32. package/build/translations/de.js +0 -1
  33. package/build/translations/el.js +0 -1
  34. package/build/translations/en-au.js +0 -1
  35. package/build/translations/en-gb.js +0 -1
  36. package/build/translations/eo.js +0 -1
  37. package/build/translations/es-co.js +0 -1
  38. package/build/translations/es.js +0 -1
  39. package/build/translations/et.js +0 -1
  40. package/build/translations/eu.js +0 -1
  41. package/build/translations/fa.js +0 -1
  42. package/build/translations/fi.js +0 -1
  43. package/build/translations/fr.js +0 -1
  44. package/build/translations/gl.js +0 -1
  45. package/build/translations/gu.js +0 -1
  46. package/build/translations/he.js +0 -1
  47. package/build/translations/hi.js +0 -1
  48. package/build/translations/hr.js +0 -1
  49. package/build/translations/hu.js +0 -1
  50. package/build/translations/hy.js +0 -1
  51. package/build/translations/id.js +0 -1
  52. package/build/translations/it.js +0 -1
  53. package/build/translations/ja.js +0 -1
  54. package/build/translations/jv.js +0 -1
  55. package/build/translations/kk.js +0 -1
  56. package/build/translations/km.js +0 -1
  57. package/build/translations/kn.js +0 -1
  58. package/build/translations/ko.js +0 -1
  59. package/build/translations/ku.js +0 -1
  60. package/build/translations/lt.js +0 -1
  61. package/build/translations/lv.js +0 -1
  62. package/build/translations/ms.js +0 -1
  63. package/build/translations/nb.js +0 -1
  64. package/build/translations/ne.js +0 -1
  65. package/build/translations/nl.js +0 -1
  66. package/build/translations/no.js +0 -1
  67. package/build/translations/oc.js +0 -1
  68. package/build/translations/pl.js +0 -1
  69. package/build/translations/pt-br.js +0 -1
  70. package/build/translations/pt.js +0 -1
  71. package/build/translations/ro.js +0 -1
  72. package/build/translations/ru.js +0 -1
  73. package/build/translations/si.js +0 -1
  74. package/build/translations/sk.js +0 -1
  75. package/build/translations/sl.js +0 -1
  76. package/build/translations/sq.js +0 -1
  77. package/build/translations/sr-latn.js +0 -1
  78. package/build/translations/sr.js +0 -1
  79. package/build/translations/sv.js +0 -1
  80. package/build/translations/th.js +0 -1
  81. package/build/translations/ti.js +0 -1
  82. package/build/translations/tk.js +0 -1
  83. package/build/translations/tr.js +0 -1
  84. package/build/translations/tt.js +0 -1
  85. package/build/translations/ug.js +0 -1
  86. package/build/translations/uk.js +0 -1
  87. package/build/translations/ur.js +0 -1
  88. package/build/translations/uz.js +0 -1
  89. package/build/translations/vi.js +0 -1
  90. package/build/translations/zh-cn.js +0 -1
  91. package/build/translations/zh.js +0 -1
  92. package/lang/contexts.json +0 -11
  93. package/lang/translations/af.po +0 -48
  94. package/lang/translations/ar.po +0 -48
  95. package/lang/translations/ast.po +0 -48
  96. package/lang/translations/az.po +0 -48
  97. package/lang/translations/be.po +0 -48
  98. package/lang/translations/bg.po +0 -48
  99. package/lang/translations/bn.po +0 -48
  100. package/lang/translations/bs.po +0 -48
  101. package/lang/translations/ca.po +0 -48
  102. package/lang/translations/cs.po +0 -48
  103. package/lang/translations/da.po +0 -48
  104. package/lang/translations/de-ch.po +0 -48
  105. package/lang/translations/de.po +0 -48
  106. package/lang/translations/el.po +0 -48
  107. package/lang/translations/en-au.po +0 -48
  108. package/lang/translations/en-gb.po +0 -48
  109. package/lang/translations/en.po +0 -48
  110. package/lang/translations/eo.po +0 -48
  111. package/lang/translations/es-co.po +0 -48
  112. package/lang/translations/es.po +0 -48
  113. package/lang/translations/et.po +0 -48
  114. package/lang/translations/eu.po +0 -48
  115. package/lang/translations/fa.po +0 -48
  116. package/lang/translations/fi.po +0 -48
  117. package/lang/translations/fr.po +0 -48
  118. package/lang/translations/gl.po +0 -48
  119. package/lang/translations/gu.po +0 -48
  120. package/lang/translations/he.po +0 -48
  121. package/lang/translations/hi.po +0 -48
  122. package/lang/translations/hr.po +0 -48
  123. package/lang/translations/hu.po +0 -48
  124. package/lang/translations/hy.po +0 -48
  125. package/lang/translations/id.po +0 -48
  126. package/lang/translations/it.po +0 -48
  127. package/lang/translations/ja.po +0 -48
  128. package/lang/translations/jv.po +0 -48
  129. package/lang/translations/kk.po +0 -48
  130. package/lang/translations/km.po +0 -48
  131. package/lang/translations/kn.po +0 -48
  132. package/lang/translations/ko.po +0 -48
  133. package/lang/translations/ku.po +0 -48
  134. package/lang/translations/lt.po +0 -48
  135. package/lang/translations/lv.po +0 -48
  136. package/lang/translations/ms.po +0 -48
  137. package/lang/translations/nb.po +0 -48
  138. package/lang/translations/ne.po +0 -48
  139. package/lang/translations/nl.po +0 -48
  140. package/lang/translations/no.po +0 -48
  141. package/lang/translations/oc.po +0 -48
  142. package/lang/translations/pl.po +0 -48
  143. package/lang/translations/pt-br.po +0 -48
  144. package/lang/translations/pt.po +0 -48
  145. package/lang/translations/ro.po +0 -48
  146. package/lang/translations/ru.po +0 -48
  147. package/lang/translations/si.po +0 -48
  148. package/lang/translations/sk.po +0 -48
  149. package/lang/translations/sl.po +0 -48
  150. package/lang/translations/sq.po +0 -48
  151. package/lang/translations/sr-latn.po +0 -48
  152. package/lang/translations/sr.po +0 -48
  153. package/lang/translations/sv.po +0 -48
  154. package/lang/translations/th.po +0 -48
  155. package/lang/translations/ti.po +0 -48
  156. package/lang/translations/tk.po +0 -48
  157. package/lang/translations/tr.po +0 -48
  158. package/lang/translations/tt.po +0 -48
  159. package/lang/translations/ug.po +0 -48
  160. package/lang/translations/uk.po +0 -48
  161. package/lang/translations/ur.po +0 -48
  162. package/lang/translations/uz.po +0 -48
  163. package/lang/translations/vi.po +0 -48
  164. package/lang/translations/zh-cn.po +0 -48
  165. package/lang/translations/zh.po +0 -48
  166. package/src/augmentation.js +0 -5
  167. package/src/index.js +0 -20
  168. package/src/restrictededitingconfig.js +0 -5
  169. package/src/restrictededitingexceptionautocommand.js +0 -73
  170. package/src/restrictededitingexceptionblockcommand.js +0 -203
  171. package/src/restrictededitingexceptioncommand.js +0 -61
  172. package/src/restrictededitingmode/converters.js +0 -177
  173. package/src/restrictededitingmode/utils.js +0 -69
  174. package/src/restrictededitingmode.js +0 -39
  175. package/src/restrictededitingmodeediting.js +0 -512
  176. package/src/restrictededitingmodenavigationcommand.js +0 -99
  177. package/src/restrictededitingmodeui.js +0 -139
  178. package/src/standardeditingmode.js +0 -36
  179. package/src/standardeditingmodeediting.js +0 -193
  180. package/src/standardeditingmodeui.js +0 -150
  181. package/theme/restrictedediting.css +0 -10
  182. /package/{src → dist}/augmentation.d.ts +0 -0
  183. /package/{src → dist}/index.d.ts +0 -0
  184. /package/{src → dist}/restrictededitingconfig.d.ts +0 -0
@@ -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.js",
8
+ "path": "src/restrictededitingmode.ts",
9
9
  "uiComponents": [
10
10
  {
11
11
  "type": "Dropdown",
12
12
  "name": "restrictedEditing",
13
- "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/content-lock.svg"
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.js",
32
+ "path": "src/standardeditingmode.ts",
33
33
  "uiComponents": [
34
34
  {
35
35
  "type": "Button",
36
36
  "name": "restrictedEditingException:inline",
37
- "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/content-unlock.svg"
37
+ "iconName": "IconContentUnlock"
38
38
  },
39
39
  {
40
40
  "type": "Button",
41
41
  "name": "restrictedEditingException:block",
42
- "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/content-unlock.svg"
42
+ "iconName": "IconContentUnlock"
43
43
  },
44
44
  {
45
45
  "type": "Dropdown",
46
46
  "name": "restrictedEditingException:dropdown",
47
- "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/content-unlock.svg"
47
+ "iconName": "IconContentUnlock"
48
48
  }
49
49
  ],
50
50
  "htmlOutput": [
@@ -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,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ;AACrE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ;AAC7D,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ;AACxE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ;AACtE;;ADOA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,UAAA,CAAA,OAAA,CAAA,SAAA,CAAA;ACJA,CAAC,CAAC,UAAU,CAAC,KAA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AS,CAAC,UAAU,CAAC,OAAO,CAAC,mBAAmB,CAAC;AAC1F,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG;ADoBlB;;ACjBD,CAAC,EAAE,CAAC,UAAU,CAAC,uBAAuB,CAAC;AACvC,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO;ADmBf;;AChBF,CAAC,EAAE,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC;AACzC,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO;ADmBf;;AChBF,CAAC,EAAE,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC;AACrE,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI;AACd;;AAEA,CAAC,EAAE,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AACvE,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI;AACd;;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 */"]}