@ckeditor/ckeditor5-widget 41.3.0-alpha.4 → 41.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. package/package.json +7 -8
  2. package/src/utils.js +1 -0
  3. package/src/widget.d.ts +8 -0
  4. package/src/widget.js +85 -1
  5. package/dist/content-index.css +0 -4
  6. package/dist/editor-index.css +0 -144
  7. package/dist/index.css +0 -257
  8. package/dist/index.css.map +0 -1
  9. package/dist/translations/ar.d.ts +0 -8
  10. package/dist/translations/ar.js +0 -5
  11. package/dist/translations/az.d.ts +0 -8
  12. package/dist/translations/az.js +0 -5
  13. package/dist/translations/bg.d.ts +0 -8
  14. package/dist/translations/bg.js +0 -5
  15. package/dist/translations/bn.d.ts +0 -8
  16. package/dist/translations/bn.js +0 -5
  17. package/dist/translations/ca.d.ts +0 -8
  18. package/dist/translations/ca.js +0 -5
  19. package/dist/translations/cs.d.ts +0 -8
  20. package/dist/translations/cs.js +0 -5
  21. package/dist/translations/da.d.ts +0 -8
  22. package/dist/translations/da.js +0 -5
  23. package/dist/translations/de-ch.d.ts +0 -8
  24. package/dist/translations/de-ch.js +0 -5
  25. package/dist/translations/de.d.ts +0 -8
  26. package/dist/translations/de.js +0 -5
  27. package/dist/translations/el.d.ts +0 -8
  28. package/dist/translations/el.js +0 -5
  29. package/dist/translations/en-au.d.ts +0 -8
  30. package/dist/translations/en-au.js +0 -5
  31. package/dist/translations/en.d.ts +0 -8
  32. package/dist/translations/en.js +0 -5
  33. package/dist/translations/es.d.ts +0 -8
  34. package/dist/translations/es.js +0 -5
  35. package/dist/translations/et.d.ts +0 -8
  36. package/dist/translations/et.js +0 -5
  37. package/dist/translations/fa.d.ts +0 -8
  38. package/dist/translations/fa.js +0 -5
  39. package/dist/translations/fi.d.ts +0 -8
  40. package/dist/translations/fi.js +0 -5
  41. package/dist/translations/fr.d.ts +0 -8
  42. package/dist/translations/fr.js +0 -5
  43. package/dist/translations/gl.d.ts +0 -8
  44. package/dist/translations/gl.js +0 -5
  45. package/dist/translations/he.d.ts +0 -8
  46. package/dist/translations/he.js +0 -5
  47. package/dist/translations/hi.d.ts +0 -8
  48. package/dist/translations/hi.js +0 -5
  49. package/dist/translations/hr.d.ts +0 -8
  50. package/dist/translations/hr.js +0 -5
  51. package/dist/translations/hu.d.ts +0 -8
  52. package/dist/translations/hu.js +0 -5
  53. package/dist/translations/id.d.ts +0 -8
  54. package/dist/translations/id.js +0 -5
  55. package/dist/translations/it.d.ts +0 -8
  56. package/dist/translations/it.js +0 -5
  57. package/dist/translations/ja.d.ts +0 -8
  58. package/dist/translations/ja.js +0 -5
  59. package/dist/translations/ko.d.ts +0 -8
  60. package/dist/translations/ko.js +0 -5
  61. package/dist/translations/ku.d.ts +0 -8
  62. package/dist/translations/ku.js +0 -5
  63. package/dist/translations/lt.d.ts +0 -8
  64. package/dist/translations/lt.js +0 -5
  65. package/dist/translations/lv.d.ts +0 -8
  66. package/dist/translations/lv.js +0 -5
  67. package/dist/translations/ms.d.ts +0 -8
  68. package/dist/translations/ms.js +0 -5
  69. package/dist/translations/nl.d.ts +0 -8
  70. package/dist/translations/nl.js +0 -5
  71. package/dist/translations/no.d.ts +0 -8
  72. package/dist/translations/no.js +0 -5
  73. package/dist/translations/pl.d.ts +0 -8
  74. package/dist/translations/pl.js +0 -5
  75. package/dist/translations/pt-br.d.ts +0 -8
  76. package/dist/translations/pt-br.js +0 -5
  77. package/dist/translations/pt.d.ts +0 -8
  78. package/dist/translations/pt.js +0 -5
  79. package/dist/translations/ro.d.ts +0 -8
  80. package/dist/translations/ro.js +0 -5
  81. package/dist/translations/ru.d.ts +0 -8
  82. package/dist/translations/ru.js +0 -5
  83. package/dist/translations/sk.d.ts +0 -8
  84. package/dist/translations/sk.js +0 -5
  85. package/dist/translations/sq.d.ts +0 -8
  86. package/dist/translations/sq.js +0 -5
  87. package/dist/translations/sr-latn.d.ts +0 -8
  88. package/dist/translations/sr-latn.js +0 -5
  89. package/dist/translations/sr.d.ts +0 -8
  90. package/dist/translations/sr.js +0 -5
  91. package/dist/translations/sv.d.ts +0 -8
  92. package/dist/translations/sv.js +0 -5
  93. package/dist/translations/th.d.ts +0 -8
  94. package/dist/translations/th.js +0 -5
  95. package/dist/translations/tk.d.ts +0 -8
  96. package/dist/translations/tk.js +0 -5
  97. package/dist/translations/tr.d.ts +0 -8
  98. package/dist/translations/tr.js +0 -5
  99. package/dist/translations/uk.d.ts +0 -8
  100. package/dist/translations/uk.js +0 -5
  101. package/dist/translations/ur.d.ts +0 -8
  102. package/dist/translations/ur.js +0 -5
  103. package/dist/translations/uz.d.ts +0 -8
  104. package/dist/translations/uz.js +0 -5
  105. package/dist/translations/vi.d.ts +0 -8
  106. package/dist/translations/vi.js +0 -5
  107. package/dist/translations/zh-cn.d.ts +0 -8
  108. package/dist/translations/zh-cn.js +0 -5
  109. package/dist/translations/zh.d.ts +0 -8
  110. package/dist/translations/zh.js +0 -5
  111. package/dist/types/augmentation.d.ts +0 -17
  112. package/dist/types/highlightstack.d.ts +0 -78
  113. package/dist/types/index.d.ts +0 -17
  114. package/dist/types/utils.d.ts +0 -202
  115. package/dist/types/verticalnavigation.d.ts +0 -19
  116. package/dist/types/widget.d.ts +0 -99
  117. package/dist/types/widgetresize/resizer.d.ts +0 -181
  118. package/dist/types/widgetresize/resizerstate.d.ts +0 -129
  119. package/dist/types/widgetresize/sizeview.d.ts +0 -59
  120. package/dist/types/widgetresize.d.ts +0 -129
  121. package/dist/types/widgettoolbarrepository.d.ts +0 -98
  122. package/dist/types/widgettypearound/utils.d.ts +0 -42
  123. package/dist/types/widgettypearound/widgettypearound.d.ts +0 -233
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-widget",
3
- "version": "41.3.0-alpha.4",
3
+ "version": "41.3.0",
4
4
  "description": "Widget API for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,12 +12,12 @@
12
12
  "type": "module",
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "41.3.0-alpha.4",
16
- "@ckeditor/ckeditor5-engine": "41.3.0-alpha.4",
17
- "@ckeditor/ckeditor5-enter": "41.3.0-alpha.4",
18
- "@ckeditor/ckeditor5-ui": "41.3.0-alpha.4",
19
- "@ckeditor/ckeditor5-utils": "41.3.0-alpha.4",
20
- "@ckeditor/ckeditor5-typing": "41.3.0-alpha.4",
15
+ "@ckeditor/ckeditor5-core": "41.3.0",
16
+ "@ckeditor/ckeditor5-engine": "41.3.0",
17
+ "@ckeditor/ckeditor5-enter": "41.3.0",
18
+ "@ckeditor/ckeditor5-ui": "41.3.0",
19
+ "@ckeditor/ckeditor5-utils": "41.3.0",
20
+ "@ckeditor/ckeditor5-typing": "41.3.0",
21
21
  "lodash-es": "4.17.21"
22
22
  },
23
23
  "author": "CKSource (http://cksource.com/)",
@@ -30,7 +30,6 @@
30
30
  "directory": "packages/ckeditor5-widget"
31
31
  },
32
32
  "files": [
33
- "dist",
34
33
  "lang",
35
34
  "src/**/*.js",
36
35
  "src/**/*.d.ts",
package/src/utils.js CHANGED
@@ -213,6 +213,7 @@ export function getLabel(element) {
213
213
  export function toWidgetEditable(editable, writer, options = {}) {
214
214
  writer.addClass(['ck-editor__editable', 'ck-editor__nested-editable'], editable);
215
215
  writer.setAttribute('role', 'textbox', editable);
216
+ writer.setAttribute('tabindex', '-1', editable);
216
217
  if (options.label) {
217
218
  writer.setAttribute('aria-label', options.label, editable);
218
219
  }
package/src/widget.d.ts CHANGED
@@ -92,4 +92,12 @@ export default class Widget extends Plugin {
92
92
  * Removes CSS class from previously selected widgets.
93
93
  */
94
94
  private _clearPreviouslySelectedWidgets;
95
+ /**
96
+ * Moves the document selection into the first nested editable.
97
+ */
98
+ private _selectFirstNestedEditable;
99
+ /**
100
+ * Updates the document selection so that it selects first ancestor widget.
101
+ */
102
+ private _selectAncestorWidget;
95
103
  }
package/src/widget.js CHANGED
@@ -8,7 +8,7 @@
8
8
  import { Plugin } from '@ckeditor/ckeditor5-core';
9
9
  import { MouseObserver, TreeWalker } from '@ckeditor/ckeditor5-engine';
10
10
  import { Delete } from '@ckeditor/ckeditor5-typing';
11
- import { env, getLocalizedArrowKeyCodeDirection } from '@ckeditor/ckeditor5-utils';
11
+ import { env, keyCodes, getLocalizedArrowKeyCodeDirection } from '@ckeditor/ckeditor5-utils';
12
12
  import WidgetTypeAround from './widgettypearound/widgettypearound.js';
13
13
  import verticalNavigationHandler from './verticalnavigation.js';
14
14
  import { getLabel, isWidget, WIDGET_SELECTED_CLASS_NAME } from './utils.js';
@@ -146,6 +146,41 @@ export default class Widget extends Plugin {
146
146
  evt.stop();
147
147
  }
148
148
  }, { context: '$root' });
149
+ // Handle Tab key while a widget is selected.
150
+ this.listenTo(viewDocument, 'tab', (evt, data) => {
151
+ // This event could be triggered from inside the widget, but we are interested
152
+ // only when the widget is selected itself.
153
+ if (evt.eventPhase != 'atTarget') {
154
+ return;
155
+ }
156
+ if (data.shiftKey) {
157
+ return;
158
+ }
159
+ if (this._selectFirstNestedEditable()) {
160
+ data.preventDefault();
161
+ evt.stop();
162
+ }
163
+ }, { context: isWidget, priority: 'low' });
164
+ // Handle Shift+Tab key while caret inside a widget editable.
165
+ this.listenTo(viewDocument, 'tab', (evt, data) => {
166
+ if (!data.shiftKey) {
167
+ return;
168
+ }
169
+ if (this._selectAncestorWidget()) {
170
+ data.preventDefault();
171
+ evt.stop();
172
+ }
173
+ }, { priority: 'low' });
174
+ // Handle Esc key while inside a nested editable.
175
+ this.listenTo(viewDocument, 'keydown', (evt, data) => {
176
+ if (data.keystroke != keyCodes.esc) {
177
+ return;
178
+ }
179
+ if (this._selectAncestorWidget()) {
180
+ data.preventDefault();
181
+ evt.stop();
182
+ }
183
+ }, { priority: 'low' });
149
184
  // Add the information about the keystrokes to the accessibility database.
150
185
  editor.accessibility.addKeystrokeInfoGroup({
151
186
  id: 'widget',
@@ -391,6 +426,55 @@ export default class Widget extends Plugin {
391
426
  }
392
427
  this._previouslySelected.clear();
393
428
  }
429
+ /**
430
+ * Moves the document selection into the first nested editable.
431
+ */
432
+ _selectFirstNestedEditable() {
433
+ const editor = this.editor;
434
+ const view = this.editor.editing.view;
435
+ const viewDocument = view.document;
436
+ for (const item of viewDocument.selection.getFirstRange().getItems()) {
437
+ if (item.is('editableElement')) {
438
+ const modelElement = editor.editing.mapper.toModelElement(item);
439
+ /* istanbul ignore next -- @preserve */
440
+ if (!modelElement) {
441
+ continue;
442
+ }
443
+ const position = editor.model.createPositionAt(modelElement, 0);
444
+ const newRange = editor.model.schema.getNearestSelectionRange(position, 'forward');
445
+ editor.model.change(writer => {
446
+ writer.setSelection(newRange);
447
+ });
448
+ return true;
449
+ }
450
+ }
451
+ return false;
452
+ }
453
+ /**
454
+ * Updates the document selection so that it selects first ancestor widget.
455
+ */
456
+ _selectAncestorWidget() {
457
+ const editor = this.editor;
458
+ const mapper = editor.editing.mapper;
459
+ const selection = editor.editing.view.document.selection;
460
+ const positionParent = selection.getFirstPosition().parent;
461
+ const positionParentElement = positionParent.is('$text') ?
462
+ positionParent.parent :
463
+ positionParent;
464
+ const viewElement = positionParentElement.findAncestor(isWidget);
465
+ if (!viewElement) {
466
+ return false;
467
+ }
468
+ const modelElement = mapper.toModelElement(viewElement);
469
+ /* istanbul ignore next -- @preserve */
470
+ if (!modelElement) {
471
+ return false;
472
+ }
473
+ editor.model.change(writer => {
474
+ writer.setSelection(modelElement, 'on');
475
+ });
476
+ return true;
477
+ }
394
478
  }
395
479
  /**
396
480
  * Returns `true` when element is a nested editable or is placed inside one.
@@ -1,4 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
@@ -1,144 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- :root {
6
- --ck-color-resizer-tooltip-background: hsl(0, 0%, 15%);
7
- --ck-color-resizer-tooltip-text: hsl(0, 0%, 95%);
8
- --ck-resizer-border-radius: var(--ck-border-radius);
9
- --ck-resizer-tooltip-offset: 10px;
10
- --ck-resizer-tooltip-height: calc(var(--ck-spacing-small) * 2 + 10px);
11
- }
12
- .ck .ck-widget {
13
- position: relative;
14
- }
15
- .ck .ck-widget.ck-widget_with-selection-handle {
16
- position: relative;
17
- }
18
- .ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {
19
- position: absolute;
20
- }
21
- .ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon {
22
- display: block;
23
- }
24
- .ck .ck-widget.ck-widget_with-selection-handle:hover > .ck-widget__selection-handle {
25
- visibility: visible;
26
- }
27
- .ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected > .ck-widget__selection-handle {
28
- visibility: visible;
29
- }
30
- .ck .ck-size-view {
31
- background: var(--ck-color-resizer-tooltip-background);
32
- color: var(--ck-color-resizer-tooltip-text);
33
- border: 1px solid var(--ck-color-resizer-tooltip-text);
34
- border-radius: var(--ck-resizer-border-radius);
35
- font-size: var(--ck-font-size-tiny);
36
- display: block;
37
- padding: 0 var(--ck-spacing-small);
38
- height: var(--ck-resizer-tooltip-height);
39
- line-height: var(--ck-resizer-tooltip-height);
40
- }
41
- .ck .ck-size-view.ck-orientation-top-left {
42
- position: absolute;
43
- }
44
- .ck .ck-size-view.ck-orientation-top-left {
45
- top: var(--ck-resizer-tooltip-offset);
46
- left: var(--ck-resizer-tooltip-offset);
47
- }
48
- .ck .ck-size-view.ck-orientation-top-right {
49
- top: var(--ck-resizer-tooltip-offset);
50
- right: var(--ck-resizer-tooltip-offset);
51
- }
52
- .ck .ck-size-view.ck-orientation-bottom-right {
53
- bottom: var(--ck-resizer-tooltip-offset);
54
- right: var(--ck-resizer-tooltip-offset);
55
- }
56
- .ck .ck-size-view.ck-orientation-bottom-left {
57
- bottom: var(--ck-resizer-tooltip-offset);
58
- left: var(--ck-resizer-tooltip-offset);
59
- }
60
- .ck .ck-size-view.ck-orientation-above-center {
61
- top: calc(var(--ck-resizer-tooltip-height) * -1);
62
- left: 50%;
63
- transform: translate(-50%);
64
- }
65
- .ck .ck-widget_with-resizer {
66
- position: relative;
67
- }
68
- .ck .ck-widget__resizer {
69
- display: none;
70
- position: absolute;
71
- pointer-events: none;
72
- left: 0;
73
- top: 0;
74
- }
75
- .ck-focused .ck-widget_with-resizer.ck-widget_selected > .ck-widget__resizer {
76
- display: block;
77
- }
78
- .ck .ck-widget__resizer__handle {
79
- position: absolute;
80
- pointer-events: all;
81
- }
82
- .ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left {
83
- cursor: nwse-resize;
84
- }
85
- .ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right {
86
- cursor: nesw-resize;
87
- }
88
- .ck .ck-widget .ck-widget__type-around__button {
89
- display: block;
90
- position: absolute;
91
- overflow: hidden;
92
- z-index: var(--ck-z-default);
93
- }
94
- .ck .ck-widget .ck-widget__type-around__button svg {
95
- position: absolute;
96
- top: 50%;
97
- left: 50%;
98
- z-index: calc(var(--ck-z-default) + 2);
99
- }
100
- .ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before {
101
- top: calc(-0.5 * var(--ck-widget-outline-thickness));
102
- left: min(10%, 30px);
103
- transform: translateY(-50%);
104
- }
105
- .ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after {
106
- bottom: calc(-0.5 * var(--ck-widget-outline-thickness));
107
- right: min(10%, 30px);
108
- transform: translateY(50%);
109
- }
110
- .ck .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button::after {
111
- content: "";
112
- display: block;
113
- position: absolute;
114
- top: 1px;
115
- left: 1px;
116
- z-index: calc(var(--ck-z-default) + 1);
117
- }
118
- .ck .ck-widget > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
119
- display: none;
120
- position: absolute;
121
- left: 0;
122
- right: 0;
123
- }
124
- .ck .ck-widget:hover > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
125
- left: calc( -1 * var(--ck-widget-outline-thickness) );
126
- right: calc( -1 * var(--ck-widget-outline-thickness) );
127
- }
128
- .ck .ck-widget.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
129
- top: calc( -1 * var(--ck-widget-outline-thickness) - 1px );
130
- display: block;
131
- }
132
- .ck .ck-widget.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
133
- bottom: calc( -1 * var(--ck-widget-outline-thickness) - 1px );
134
- display: block;
135
- }
136
- .ck.ck-editor__editable.ck-read-only .ck-widget__type-around {
137
- display: none;
138
- }
139
- .ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around {
140
- display: none;
141
- }
142
- .ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around {
143
- display: none;
144
- }
package/dist/index.css DELETED
@@ -1,257 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /*
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
-
10
- :root {
11
- --ck-color-resizer: var(--ck-color-focus-border);
12
- --ck-color-resizer-tooltip-background: hsl(0, 0%, 15%);
13
- --ck-color-resizer-tooltip-text: hsl(0, 0%, 95%);
14
-
15
- --ck-resizer-border-radius: var(--ck-border-radius);
16
- --ck-resizer-tooltip-offset: 10px;
17
- --ck-resizer-tooltip-height: calc(var(--ck-spacing-small) * 2 + 10px);
18
- }
19
-
20
- .ck .ck-widget {
21
- /* This is neccessary for type around UI to be positioned properly. */
22
- position: relative;
23
- }
24
-
25
- .ck .ck-widget.ck-widget_with-selection-handle {
26
- /* Make the widget wrapper a relative positioning container for the drag handle. */
27
- position: relative;
28
- }
29
-
30
- .ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {
31
- position: absolute;
32
- }
33
-
34
- .ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon {
35
- /* Make sure the icon in not a subject to font-size or line-height to avoid
36
- unnecessary spacing around it. */
37
- display: block;
38
- }
39
-
40
- /* Show the selection handle on mouse hover over the widget, but not for nested widgets. */
41
-
42
- .ck .ck-widget.ck-widget_with-selection-handle:hover > .ck-widget__selection-handle {
43
- visibility: visible;
44
- }
45
-
46
- /* Show the selection handle when the widget is selected, but not for nested widgets. */
47
-
48
- .ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected > .ck-widget__selection-handle {
49
- visibility: visible;
50
- }
51
-
52
- .ck .ck-size-view {
53
- background: var(--ck-color-resizer-tooltip-background);
54
- color: var(--ck-color-resizer-tooltip-text);
55
- border: 1px solid var(--ck-color-resizer-tooltip-text);
56
- border-radius: var(--ck-resizer-border-radius);
57
- font-size: var(--ck-font-size-tiny);
58
- display: block;
59
- padding: 0 var(--ck-spacing-small);
60
- height: var(--ck-resizer-tooltip-height);
61
- line-height: var(--ck-resizer-tooltip-height);
62
- }
63
-
64
- .ck .ck-size-view.ck-orientation-top-left,
65
- .ck .ck-size-view.ck-orientation-top-right,
66
- .ck .ck-size-view.ck-orientation-bottom-right,
67
- .ck .ck-size-view.ck-orientation-bottom-left,
68
- .ck .ck-size-view.ck-orientation-above-center {
69
- position: absolute;
70
- }
71
-
72
- .ck .ck-size-view.ck-orientation-top-left {
73
- top: var(--ck-resizer-tooltip-offset);
74
- left: var(--ck-resizer-tooltip-offset);
75
- }
76
-
77
- .ck .ck-size-view.ck-orientation-top-right {
78
- top: var(--ck-resizer-tooltip-offset);
79
- right: var(--ck-resizer-tooltip-offset);
80
- }
81
-
82
- .ck .ck-size-view.ck-orientation-bottom-right {
83
- bottom: var(--ck-resizer-tooltip-offset);
84
- right: var(--ck-resizer-tooltip-offset);
85
- }
86
-
87
- .ck .ck-size-view.ck-orientation-bottom-left {
88
- bottom: var(--ck-resizer-tooltip-offset);
89
- left: var(--ck-resizer-tooltip-offset);
90
- }
91
-
92
- /* Class applied if the widget is too small to contain the size label */
93
-
94
- .ck .ck-size-view.ck-orientation-above-center {
95
- top: calc(var(--ck-resizer-tooltip-height) * -1);
96
- left: 50%;
97
- transform: translate(-50%);
98
- }
99
-
100
- /*
101
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
102
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
103
- */
104
-
105
- .ck .ck-widget_with-resizer {
106
- /* Make the widget wrapper a relative positioning container for the drag handle. */
107
- position: relative;
108
- }
109
-
110
- .ck .ck-widget__resizer {
111
- display: none;
112
- position: absolute;
113
-
114
- /* The wrapper itself should not interfere with the pointer device, only the handles should. */
115
- pointer-events: none;
116
-
117
- left: 0;
118
- top: 0;
119
- }
120
-
121
- .ck-focused .ck-widget_with-resizer.ck-widget_selected > .ck-widget__resizer {
122
- display: block;
123
- }
124
-
125
- .ck .ck-widget__resizer__handle {
126
- position: absolute;
127
-
128
- /* Resizers are the only UI elements that should interfere with a pointer device. */
129
- pointer-events: all;
130
- }
131
-
132
- .ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left,
133
- .ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right {
134
- cursor: nwse-resize;
135
- }
136
-
137
- .ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right,
138
- .ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left {
139
- cursor: nesw-resize;
140
- }
141
-
142
- /*
143
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
144
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
145
- */
146
-
147
- /*
148
- * Styles of the type around buttons
149
- */
150
-
151
- .ck .ck-widget .ck-widget__type-around__button {
152
- display: block;
153
- position: absolute;
154
- overflow: hidden;
155
- z-index: var(--ck-z-default);
156
- }
157
-
158
- .ck .ck-widget .ck-widget__type-around__button svg {
159
- position: absolute;
160
- top: 50%;
161
- left: 50%;
162
- z-index: calc(var(--ck-z-default) + 2);
163
- }
164
-
165
- .ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before {
166
- /* Place it in the middle of the outline */
167
- top: calc(-0.5 * var(--ck-widget-outline-thickness));
168
- left: min(10%, 30px);
169
-
170
- transform: translateY(-50%);
171
- }
172
-
173
- .ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after {
174
- /* Place it in the middle of the outline */
175
- bottom: calc(-0.5 * var(--ck-widget-outline-thickness));
176
- right: min(10%, 30px);
177
-
178
- transform: translateY(50%);
179
- }
180
-
181
- /*
182
- * Styles for the buttons when:
183
- * - the widget is selected,
184
- * - or the button is being hovered (regardless of the widget state).
185
- */
186
-
187
- .ck .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button::after, .ck .ck-widget > .ck-widget__type-around > .ck-widget__type-around__button:hover::after {
188
- content: "";
189
- display: block;
190
- position: absolute;
191
- top: 1px;
192
- left: 1px;
193
- z-index: calc(var(--ck-z-default) + 1);
194
- }
195
-
196
- /*
197
- * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.
198
- */
199
-
200
- .ck .ck-widget > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
201
- display: none;
202
- position: absolute;
203
- left: 0;
204
- right: 0;
205
- }
206
-
207
- /*
208
- * When the widget is hovered the "fake caret" would normally be narrower than the
209
- * extra outline displayed around the widget. Let's extend the "fake caret" to match
210
- * the full width of the widget.
211
- */
212
-
213
- .ck .ck-widget:hover > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
214
- left: calc( -1 * var(--ck-widget-outline-thickness) );
215
- right: calc( -1 * var(--ck-widget-outline-thickness) );
216
- }
217
-
218
- /*
219
- * Styles for the horizontal "fake caret" when it should be displayed before the widget (backward keyboard navigation).
220
- */
221
-
222
- .ck .ck-widget.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
223
- top: calc( -1 * var(--ck-widget-outline-thickness) - 1px );
224
- display: block;
225
- }
226
-
227
- /*
228
- * Styles for the horizontal "fake caret" when it should be displayed after the widget (forward keyboard navigation).
229
- */
230
-
231
- .ck .ck-widget.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
232
- bottom: calc( -1 * var(--ck-widget-outline-thickness) - 1px );
233
- display: block;
234
- }
235
-
236
- /*
237
- * Integration with the read-only mode of the editor.
238
- */
239
- .ck.ck-editor__editable.ck-read-only .ck-widget__type-around {
240
- display: none;
241
- }
242
-
243
- /*
244
- * Integration with the restricted editing mode (feature) of the editor.
245
- */
246
- .ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around {
247
- display: none;
248
- }
249
-
250
- /*
251
- * Integration with the #isEnabled property of the WidgetTypeAround plugin.
252
- */
253
- .ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around {
254
- display: none;
255
- }
256
-
257
- /*# sourceMappingURL=index.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../theme/widget.css","index.css","../theme/widgetresize.css","../theme/widgettypearound.css"],"names":[],"mappings":";;;;AAAA,CAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC;AAC5E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,C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,gBAAA,CAAA,EAAA,CAAA,UAAA,CAAA,uBAAA,CAAA,CAAA,EAAA,CAAA,YAAA,CAAA,MAAA,CAAA,CAAA;AF2IA,CE1IC,OAAA,CAAA,CAAA,IAAa,CAAA;AACd,CAAA;AF2IA;AEzIA,CAAA,CAAA;AF2IA,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,gBAAgB,CAAC,MAAM,CAAC;AAC3E,CAAC,CE1IC,CAAA;AACF,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,CAAA,YAAA,CAAA,eAAA,CAAA,CAAA,EAAA,CAAA,YAAA,CAAA,MAAA,CAAA,CAAA;AF2IA,CE1IC,OAAA,CAAA,CAAA,IAAa,CAAA;AACd,CAAA;AF2IA;AACA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-resizer: var(--ck-color-focus-border);\n\t--ck-color-resizer-tooltip-background: hsl(0, 0%, 15%);\n\t--ck-color-resizer-tooltip-text: hsl(0, 0%, 95%);\n\n\t--ck-resizer-border-radius: var(--ck-border-radius);\n\t--ck-resizer-tooltip-offset: 10px;\n\t--ck-resizer-tooltip-height: calc(var(--ck-spacing-small) * 2 + 10px);\n}\n\n.ck .ck-widget {\n\t/* This is neccessary for type around UI to be positioned properly. */\n\tposition: relative;\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n\n\t& .ck-widget__selection-handle {\n\t\tposition: absolute;\n\n\t\t& .ck-icon {\n\t\t\t/* Make sure the icon in not a subject to font-size or line-height to avoid\n\t\t\tunnecessary spacing around it. */\n\t\t\tdisplay: block;\n\t\t}\n\t}\n\n\t/* Show the selection handle on mouse hover over the widget, but not for nested widgets. */\n\t&:hover > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n\n\t/* Show the selection handle when the widget is selected, but not for nested widgets. */\n\t&.ck-widget_selected > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n}\n\n.ck .ck-size-view {\n\tbackground: var(--ck-color-resizer-tooltip-background);\n\tcolor: var(--ck-color-resizer-tooltip-text);\n\tborder: 1px solid var(--ck-color-resizer-tooltip-text);\n\tborder-radius: var(--ck-resizer-border-radius);\n\tfont-size: var(--ck-font-size-tiny);\n\tdisplay: block;\n\tpadding: 0 var(--ck-spacing-small);\n\theight: var(--ck-resizer-tooltip-height);\n\tline-height: var(--ck-resizer-tooltip-height);\n\n\t&.ck-orientation-top-left,\n\t&.ck-orientation-top-right,\n\t&.ck-orientation-bottom-right,\n\t&.ck-orientation-bottom-left,\n\t&.ck-orientation-above-center {\n\t\tposition: absolute;\n\t}\n\n\t&.ck-orientation-top-left {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-top-right {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-right {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-left {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t/* Class applied if the widget is too small to contain the size label */\n\t&.ck-orientation-above-center {\n\t\ttop: calc(var(--ck-resizer-tooltip-height) * -1);\n\t\tleft: 50%;\n\t\ttransform: translate(-50%);\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-resizer: var(--ck-color-focus-border);\n\t--ck-color-resizer-tooltip-background: hsl(0, 0%, 15%);\n\t--ck-color-resizer-tooltip-text: hsl(0, 0%, 95%);\n\n\t--ck-resizer-border-radius: var(--ck-border-radius);\n\t--ck-resizer-tooltip-offset: 10px;\n\t--ck-resizer-tooltip-height: calc(var(--ck-spacing-small) * 2 + 10px);\n}\n\n.ck .ck-widget {\n\t/* This is neccessary for type around UI to be positioned properly. */\n\tposition: relative;\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {\n\t\tposition: absolute;\n\t}\n\n.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon {\n\t\t\t/* Make sure the icon in not a subject to font-size or line-height to avoid\n\t\t\tunnecessary spacing around it. */\n\t\t\tdisplay: block;\n\t\t}\n\n/* Show the selection handle on mouse hover over the widget, but not for nested widgets. */\n\n.ck .ck-widget.ck-widget_with-selection-handle:hover > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n\n/* Show the selection handle when the widget is selected, but not for nested widgets. */\n\n.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n\n.ck .ck-size-view {\n\tbackground: var(--ck-color-resizer-tooltip-background);\n\tcolor: var(--ck-color-resizer-tooltip-text);\n\tborder: 1px solid var(--ck-color-resizer-tooltip-text);\n\tborder-radius: var(--ck-resizer-border-radius);\n\tfont-size: var(--ck-font-size-tiny);\n\tdisplay: block;\n\tpadding: 0 var(--ck-spacing-small);\n\theight: var(--ck-resizer-tooltip-height);\n\tline-height: var(--ck-resizer-tooltip-height);\n}\n\n.ck .ck-size-view.ck-orientation-top-left,\n\t.ck .ck-size-view.ck-orientation-top-right,\n\t.ck .ck-size-view.ck-orientation-bottom-right,\n\t.ck .ck-size-view.ck-orientation-bottom-left,\n\t.ck .ck-size-view.ck-orientation-above-center {\n\t\tposition: absolute;\n\t}\n\n.ck .ck-size-view.ck-orientation-top-left {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n.ck .ck-size-view.ck-orientation-top-right {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n.ck .ck-size-view.ck-orientation-bottom-right {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n.ck .ck-size-view.ck-orientation-bottom-left {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n/* Class applied if the widget is too small to contain the size label */\n\n.ck .ck-size-view.ck-orientation-above-center {\n\t\ttop: calc(var(--ck-resizer-tooltip-height) * -1);\n\t\tleft: 50%;\n\t\ttransform: translate(-50%);\n\t}\n\n/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget_with-resizer {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n}\n\n.ck .ck-widget__resizer {\n\tdisplay: none;\n\tposition: absolute;\n\n\t/* The wrapper itself should not interfere with the pointer device, only the handles should. */\n\tpointer-events: none;\n\n\tleft: 0;\n\ttop: 0;\n}\n\n.ck-focused .ck-widget_with-resizer.ck-widget_selected > .ck-widget__resizer {\n\t\tdisplay: block;\n\t}\n\n.ck .ck-widget__resizer__handle {\n\tposition: absolute;\n\n\t/* Resizers are the only UI elements that should interfere with a pointer device. */\n\tpointer-events: all;\n}\n\n.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left,\n\t.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right {\n\t\tcursor: nwse-resize;\n\t}\n\n.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right,\n\t.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left {\n\t\tcursor: nesw-resize;\n\t}\n\n/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/*\n\t * Styles of the type around buttons\n\t */\n\n.ck .ck-widget .ck-widget__type-around__button {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\toverflow: hidden;\n\t\tz-index: var(--ck-z-default);\n\t}\n\n.ck .ck-widget .ck-widget__type-around__button svg {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tleft: 50%;\n\t\t\tz-index: calc(var(--ck-z-default) + 2);\n\t\t}\n\n.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\ttop: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tleft: min(10%, 30px);\n\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\n.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\tbottom: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tright: min(10%, 30px);\n\n\t\t\ttransform: translateY(50%);\n\t\t}\n\n/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\n.ck .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button::after, .ck .ck-widget > .ck-widget__type-around > .ck-widget__type-around__button:hover::after {\n\t\t\tcontent: \"\";\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t\ttop: 1px;\n\t\t\tleft: 1px;\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\n/*\n\t * Styles for the horizontal \"fake caret\" which is displayed when the user navigates using the keyboard.\n\t */\n\n.ck .ck-widget > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tdisplay: none;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t}\n\n/*\n\t * When the widget is hovered the \"fake caret\" would normally be narrower than the\n\t * extra outline displayed around the widget. Let's extend the \"fake caret\" to match\n\t * the full width of the widget.\n\t */\n\n.ck .ck-widget:hover > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tleft: calc( -1 * var(--ck-widget-outline-thickness) );\n\t\tright: calc( -1 * var(--ck-widget-outline-thickness) );\n\t}\n\n/*\n\t * Styles for the horizontal \"fake caret\" when it should be displayed before the widget (backward keyboard navigation).\n\t */\n\n.ck .ck-widget.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\ttop: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n\n/*\n\t * Styles for the horizontal \"fake caret\" when it should be displayed after the widget (forward keyboard navigation).\n\t */\n\n.ck .ck-widget.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tbottom: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n\n/*\n * Integration with the read-only mode of the editor.\n */\n.ck.ck-editor__editable.ck-read-only .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the restricted editing mode (feature) of the editor.\n */\n.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the #isEnabled property of the WidgetTypeAround plugin.\n */\n.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*# sourceMappingURL=index.css.map */","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget_with-resizer {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n}\n\n.ck .ck-widget__resizer {\n\tdisplay: none;\n\tposition: absolute;\n\n\t/* The wrapper itself should not interfere with the pointer device, only the handles should. */\n\tpointer-events: none;\n\n\tleft: 0;\n\ttop: 0;\n}\n\n.ck-focused .ck-widget_with-resizer.ck-widget_selected {\n\t& > .ck-widget__resizer {\n\t\tdisplay: block;\n\t}\n}\n\n.ck .ck-widget__resizer__handle {\n\tposition: absolute;\n\n\t/* Resizers are the only UI elements that should interfere with a pointer device. */\n\tpointer-events: all;\n\n\t&.ck-widget__resizer__handle-top-left,\n\t&.ck-widget__resizer__handle-bottom-right {\n\t\tcursor: nwse-resize;\n\t}\n\n\t&.ck-widget__resizer__handle-top-right,\n\t&.ck-widget__resizer__handle-bottom-left {\n\t\tcursor: nesw-resize;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget {\n\t/*\n\t * Styles of the type around buttons\n\t */\n\t& .ck-widget__type-around__button {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\toverflow: hidden;\n\t\tz-index: var(--ck-z-default);\n\n\t\t& svg {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tleft: 50%;\n\t\t\tz-index: calc(var(--ck-z-default) + 2);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_before {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\ttop: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tleft: min(10%, 30px);\n\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_after {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\tbottom: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tright: min(10%, 30px);\n\n\t\t\ttransform: translateY(50%);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\t&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,\n\t& > .ck-widget__type-around > .ck-widget__type-around__button:hover {\n\t\t&::after {\n\t\t\tcontent: \"\";\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t\ttop: 1px;\n\t\t\tleft: 1px;\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the horizontal \"fake caret\" which is displayed when the user navigates using the keyboard.\n\t */\n\t& > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tdisplay: none;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t}\n\n\t/*\n\t * When the widget is hovered the \"fake caret\" would normally be narrower than the\n\t * extra outline displayed around the widget. Let's extend the \"fake caret\" to match\n\t * the full width of the widget.\n\t */\n\t&:hover > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tleft: calc( -1 * var(--ck-widget-outline-thickness) );\n\t\tright: calc( -1 * var(--ck-widget-outline-thickness) );\n\t}\n\n\t/*\n\t * Styles for the horizontal \"fake caret\" when it should be displayed before the widget (backward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\ttop: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n\n\t/*\n\t * Styles for the horizontal \"fake caret\" when it should be displayed after the widget (forward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tbottom: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n}\n\n/*\n * Integration with the read-only mode of the editor.\n */\n.ck.ck-editor__editable.ck-read-only .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the restricted editing mode (feature) of the editor.\n */\n.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the #isEnabled property of the WidgetTypeAround plugin.\n */\n.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around {\n\tdisplay: none;\n}\n"]}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"ar":{"dictionary":{"Widget toolbar":"شريط أدوات الواجهة","Insert paragraph before block":"إدراج فقرة قبل الكتلة","Insert paragraph after block":"إدراج فقرة بعد الكتلة","Press Enter to type after or press Shift + Enter to type before the widget":"اضغط على Enter للكتابة بعد ذلك أو اضغط على Shift + Enter للكتابة قبل الأداة","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"ضغطة المفاتيح التي يمكن استخدامها عند اختيار الأداة (على سبيل المثال: الصورة والجدول وما إلى ذلك)","Insert a new paragraph directly after a widget":"قم بإدراج فقرة جديدة مباشرةً بعد الأداة","Insert a new paragraph directly before a widget":"قم بإدراج فقرة جديدة مباشرةً قبل الأداة","Move the caret to allow typing directly before a widget":"حرّكْ علامة الإقحام للسماح بالكتابة مباشرةً قبل الأداة","Move the caret to allow typing directly after a widget":"حرّكْ علامة الإقحام للسماح بالكتابة مباشرةً بعد الأداة"},getPluralForm(n){return n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;