@ckeditor/ckeditor5-ui 43.0.0 → 43.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bindings/clickoutsidehandler.d.ts +5 -3
- package/dist/dropdown/dropdownview.d.ts +21 -8
- package/dist/dropdown/menu/dropdownmenubehaviors.d.ts +48 -0
- package/dist/dropdown/menu/dropdownmenubuttonview.d.ts +40 -0
- package/dist/dropdown/menu/dropdownmenulistitembuttonview.d.ts +21 -0
- package/dist/dropdown/menu/dropdownmenulistitemview.d.ts +26 -0
- package/dist/dropdown/menu/dropdownmenulistview.d.ts +28 -0
- package/dist/dropdown/menu/dropdownmenunestedmenupanelview.d.ts +38 -0
- package/dist/dropdown/menu/dropdownmenunestedmenuview.d.ts +135 -0
- package/dist/dropdown/menu/dropdownmenurootlistview.d.ts +144 -0
- package/dist/dropdown/menu/utils.d.ts +128 -0
- package/dist/dropdown/utils.d.ts +58 -0
- package/dist/editableui/editableuiview.d.ts +1 -1
- package/dist/editableui/inline/inlineeditableuiview.d.ts +13 -9
- package/dist/editorui/editorui.d.ts +4 -0
- package/dist/index-editor.css +16 -0
- package/dist/index.css +31 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +4717 -3869
- package/dist/index.js.map +1 -1
- package/dist/menubar/utils.d.ts +5 -5
- package/dist/panel/balloon/contextualballoon.d.ts +12 -6
- package/dist/toolbar/balloon/balloontoolbar.d.ts +5 -0
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +1 -1
- package/lang/translations/af.po +4 -4
- package/lang/translations/ar.po +4 -4
- package/lang/translations/ast.po +4 -4
- package/lang/translations/az.po +4 -4
- package/lang/translations/bg.po +4 -4
- package/lang/translations/bn.po +4 -4
- package/lang/translations/bs.po +4 -4
- package/lang/translations/ca.po +4 -4
- package/lang/translations/cs.po +4 -4
- package/lang/translations/da.po +4 -4
- package/lang/translations/de-ch.po +4 -4
- package/lang/translations/de.po +4 -4
- package/lang/translations/el.po +4 -4
- package/lang/translations/en-au.po +4 -4
- package/lang/translations/en-gb.po +4 -4
- package/lang/translations/en.po +4 -4
- package/lang/translations/eo.po +4 -4
- package/lang/translations/es-co.po +4 -4
- package/lang/translations/es.po +4 -4
- package/lang/translations/et.po +4 -4
- package/lang/translations/eu.po +4 -4
- package/lang/translations/fa.po +4 -4
- package/lang/translations/fi.po +4 -4
- package/lang/translations/fr.po +4 -4
- package/lang/translations/gl.po +4 -4
- package/lang/translations/he.po +4 -4
- package/lang/translations/hi.po +4 -4
- package/lang/translations/hr.po +4 -4
- package/lang/translations/hu.po +4 -4
- package/lang/translations/id.po +4 -4
- package/lang/translations/it.po +4 -4
- package/lang/translations/ja.po +4 -4
- package/lang/translations/jv.po +4 -4
- package/lang/translations/km.po +4 -4
- package/lang/translations/kn.po +4 -4
- package/lang/translations/ko.po +4 -4
- package/lang/translations/ku.po +4 -4
- package/lang/translations/lt.po +4 -4
- package/lang/translations/lv.po +4 -4
- package/lang/translations/ms.po +4 -4
- package/lang/translations/nb.po +4 -4
- package/lang/translations/ne.po +4 -4
- package/lang/translations/nl.po +4 -4
- package/lang/translations/no.po +4 -4
- package/lang/translations/pl.po +4 -4
- package/lang/translations/pt-br.po +4 -4
- package/lang/translations/pt.po +4 -4
- package/lang/translations/ro.po +4 -4
- package/lang/translations/ru.po +4 -4
- package/lang/translations/sk.po +4 -4
- package/lang/translations/sl.po +4 -4
- package/lang/translations/sq.po +4 -4
- package/lang/translations/sr-latn.po +4 -4
- package/lang/translations/sr.po +4 -4
- package/lang/translations/sv.po +4 -4
- package/lang/translations/th.po +4 -4
- package/lang/translations/ti.po +4 -4
- package/lang/translations/tk.po +4 -4
- package/lang/translations/tr.po +4 -4
- package/lang/translations/tt.po +4 -4
- package/lang/translations/ug.po +4 -4
- package/lang/translations/uk.po +4 -4
- package/lang/translations/ur.po +4 -4
- package/lang/translations/uz.po +4 -4
- package/lang/translations/vi.po +4 -4
- package/lang/translations/zh-cn.po +4 -4
- package/lang/translations/zh.po +4 -4
- package/package.json +4 -3
- package/src/bindings/clickoutsidehandler.d.ts +5 -3
- package/src/bindings/clickoutsidehandler.js +3 -2
- package/src/dialog/dialog.js +0 -1
- package/src/dropdown/dropdownview.d.ts +21 -8
- package/src/dropdown/menu/dropdownmenubehaviors.d.ts +44 -0
- package/src/dropdown/menu/dropdownmenubehaviors.js +119 -0
- package/src/dropdown/menu/dropdownmenubuttonview.d.ts +36 -0
- package/src/dropdown/menu/dropdownmenubuttonview.js +65 -0
- package/src/dropdown/menu/dropdownmenulistitembuttonview.d.ts +17 -0
- package/src/dropdown/menu/dropdownmenulistitembuttonview.js +29 -0
- package/src/dropdown/menu/dropdownmenulistitemview.d.ts +22 -0
- package/src/dropdown/menu/dropdownmenulistitemview.js +34 -0
- package/src/dropdown/menu/dropdownmenulistview.d.ts +24 -0
- package/src/dropdown/menu/dropdownmenulistview.js +29 -0
- package/src/dropdown/menu/dropdownmenunestedmenupanelview.d.ts +34 -0
- package/src/dropdown/menu/dropdownmenunestedmenupanelview.js +63 -0
- package/src/dropdown/menu/dropdownmenunestedmenuview.d.ts +131 -0
- package/src/dropdown/menu/dropdownmenunestedmenuview.js +191 -0
- package/src/dropdown/menu/dropdownmenurootlistview.d.ts +140 -0
- package/src/dropdown/menu/dropdownmenurootlistview.js +160 -0
- package/src/dropdown/menu/utils.d.ts +124 -0
- package/src/dropdown/menu/utils.js +61 -0
- package/src/dropdown/utils.d.ts +58 -0
- package/src/dropdown/utils.js +101 -18
- package/src/editableui/editableuiview.d.ts +1 -1
- package/src/editableui/inline/inlineeditableuiview.d.ts +13 -9
- package/src/editableui/inline/inlineeditableuiview.js +29 -6
- package/src/editorui/accessibilityhelp/accessibilityhelp.js +3 -1
- package/src/editorui/editorui.d.ts +4 -0
- package/src/editorui/editorui.js +16 -1
- package/src/editorui/poweredby.js +0 -1
- package/src/index.d.ts +7 -1
- package/src/index.js +6 -0
- package/src/menubar/menubarmenuview.js +1 -0
- package/src/menubar/utils.d.ts +5 -5
- package/src/menubar/utils.js +21 -12
- package/src/panel/balloon/balloonpanelview.js +19 -12
- package/src/panel/balloon/contextualballoon.d.ts +12 -6
- package/src/panel/balloon/contextualballoon.js +24 -24
- package/src/toolbar/balloon/balloontoolbar.d.ts +5 -0
- package/src/toolbar/balloon/balloontoolbar.js +26 -5
- package/src/toolbar/block/blocktoolbar.js +0 -2
- package/theme/components/dropdown/menu/dropdownmenu.css +8 -0
- package/theme/components/dropdown/menu/dropdownmenubutton.css +9 -0
- package/theme/components/dropdown/menu/dropdownmenulistitem.css +10 -0
- package/theme/components/dropdown/menu/dropdownmenulistitembutton.css +10 -0
- package/theme/components/dropdown/menu/dropdownmenupanel.css +11 -0
|
@@ -89,6 +89,7 @@ export default class ContextualBalloon extends Plugin {
|
|
|
89
89
|
}
|
|
90
90
|
return null;
|
|
91
91
|
};
|
|
92
|
+
this.decorate('getPositionOptions');
|
|
92
93
|
this.set('visibleView', null);
|
|
93
94
|
this.set('_numberOfStacks', 0);
|
|
94
95
|
this.set('_singleViewMode', false);
|
|
@@ -227,9 +228,30 @@ export default class ContextualBalloon extends Plugin {
|
|
|
227
228
|
if (position) {
|
|
228
229
|
this._visibleStack.get(this.visibleView).position = position;
|
|
229
230
|
}
|
|
230
|
-
this.view.pin(this.
|
|
231
|
+
this.view.pin(this.getPositionOptions());
|
|
231
232
|
this._fakePanelsView.updatePosition();
|
|
232
233
|
}
|
|
234
|
+
/**
|
|
235
|
+
* Returns position options of the last view in the stack.
|
|
236
|
+
* This keeps the balloon in the same position when the view is changed.
|
|
237
|
+
*/
|
|
238
|
+
getPositionOptions() {
|
|
239
|
+
let position = Array.from(this._visibleStack.values()).pop().position;
|
|
240
|
+
if (position) {
|
|
241
|
+
// Use the default limiter if none has been specified.
|
|
242
|
+
if (!position.limiter) {
|
|
243
|
+
// Don't modify the original options object.
|
|
244
|
+
position = Object.assign({}, position, {
|
|
245
|
+
limiter: this.positionLimiter
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
// Don't modify the original options object.
|
|
249
|
+
position = Object.assign({}, position, {
|
|
250
|
+
viewportOffsetConfig: this.editor.ui.viewportOffset
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
return position;
|
|
254
|
+
}
|
|
233
255
|
/**
|
|
234
256
|
* Shows the last view from the stack of a given ID.
|
|
235
257
|
*/
|
|
@@ -255,7 +277,6 @@ export default class ContextualBalloon extends Plugin {
|
|
|
255
277
|
_createPanelView() {
|
|
256
278
|
this._view = new BalloonPanelView(this.editor.locale);
|
|
257
279
|
this.editor.ui.view.body.add(this._view);
|
|
258
|
-
this.editor.ui.focusTracker.add(this._view.element);
|
|
259
280
|
this._rotatorView = this._createRotatorView();
|
|
260
281
|
this._fakePanelsView = this._createFakePanelsView();
|
|
261
282
|
}
|
|
@@ -361,33 +382,12 @@ export default class ContextualBalloon extends Plugin {
|
|
|
361
382
|
this.view.withArrow = withArrow;
|
|
362
383
|
this._rotatorView.showView(view);
|
|
363
384
|
this.visibleView = view;
|
|
364
|
-
this.view.pin(this.
|
|
385
|
+
this.view.pin(this.getPositionOptions());
|
|
365
386
|
this._fakePanelsView.updatePosition();
|
|
366
387
|
if (singleViewMode) {
|
|
367
388
|
this._singleViewMode = true;
|
|
368
389
|
}
|
|
369
390
|
}
|
|
370
|
-
/**
|
|
371
|
-
* Returns position options of the last view in the stack.
|
|
372
|
-
* This keeps the balloon in the same position when the view is changed.
|
|
373
|
-
*/
|
|
374
|
-
_getBalloonPosition() {
|
|
375
|
-
let position = Array.from(this._visibleStack.values()).pop().position;
|
|
376
|
-
if (position) {
|
|
377
|
-
// Use the default limiter if none has been specified.
|
|
378
|
-
if (!position.limiter) {
|
|
379
|
-
// Don't modify the original options object.
|
|
380
|
-
position = Object.assign({}, position, {
|
|
381
|
-
limiter: this.positionLimiter
|
|
382
|
-
});
|
|
383
|
-
}
|
|
384
|
-
// Don't modify the original options object.
|
|
385
|
-
position = Object.assign({}, position, {
|
|
386
|
-
viewportOffsetConfig: this.editor.ui.viewportOffset
|
|
387
|
-
});
|
|
388
|
-
}
|
|
389
|
-
return position;
|
|
390
|
-
}
|
|
391
391
|
}
|
|
392
392
|
/**
|
|
393
393
|
* Rotator view is a helper class for the {@link module:ui/panel/balloon/contextualballoon~ContextualBalloon ContextualBalloon}.
|
|
@@ -85,6 +85,11 @@ export default class BalloonToolbar extends Plugin {
|
|
|
85
85
|
* Hides the toolbar.
|
|
86
86
|
*/
|
|
87
87
|
hide(): void;
|
|
88
|
+
/**
|
|
89
|
+
* Add or remove editable elements to the focus tracker. It watches added and removed roots
|
|
90
|
+
* and adds or removes their editable elements to the focus tracker.
|
|
91
|
+
*/
|
|
92
|
+
private _trackFocusableEditableElements;
|
|
88
93
|
/**
|
|
89
94
|
* Returns positioning options for the {@link #_balloon}. They control the way balloon is attached
|
|
90
95
|
* to the selection.
|
|
@@ -11,6 +11,7 @@ import BalloonPanelView from '../../panel/balloon/balloonpanelview.js';
|
|
|
11
11
|
import normalizeToolbarConfig from '../normalizetoolbarconfig.js';
|
|
12
12
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
13
13
|
import { FocusTracker, Rect, ResizeObserver, env, global, toUnit } from '@ckeditor/ckeditor5-utils';
|
|
14
|
+
import { Observer } from '@ckeditor/ckeditor5-engine';
|
|
14
15
|
import { debounce } from 'lodash-es';
|
|
15
16
|
const toPx = /* #__PURE__ */ toUnit('px');
|
|
16
17
|
/**
|
|
@@ -49,11 +50,9 @@ export default class BalloonToolbar extends Plugin {
|
|
|
49
50
|
this._balloonConfig = normalizeToolbarConfig(editor.config.get('balloonToolbar'));
|
|
50
51
|
this.toolbarView = this._createToolbarView();
|
|
51
52
|
this.focusTracker = new FocusTracker();
|
|
52
|
-
//
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
this.focusTracker.add(this.toolbarView.element);
|
|
56
|
-
});
|
|
53
|
+
// Track focusable elements in the toolbar and the editable elements.
|
|
54
|
+
this._trackFocusableEditableElements();
|
|
55
|
+
this.focusTracker.add(this.toolbarView.element);
|
|
57
56
|
// Register the toolbar so it becomes available for Alt+F10 and Esc navigation.
|
|
58
57
|
editor.ui.addToolbar(this.toolbarView, {
|
|
59
58
|
beforeFocus: () => this.show(true),
|
|
@@ -187,6 +186,28 @@ export default class BalloonToolbar extends Plugin {
|
|
|
187
186
|
this._balloon.remove(this.toolbarView);
|
|
188
187
|
}
|
|
189
188
|
}
|
|
189
|
+
/**
|
|
190
|
+
* Add or remove editable elements to the focus tracker. It watches added and removed roots
|
|
191
|
+
* and adds or removes their editable elements to the focus tracker.
|
|
192
|
+
*/
|
|
193
|
+
_trackFocusableEditableElements() {
|
|
194
|
+
const { editor, focusTracker } = this;
|
|
195
|
+
const { editing } = editor;
|
|
196
|
+
editing.view.addObserver(class TrackEditableElements extends Observer {
|
|
197
|
+
/**
|
|
198
|
+
* @inheritDoc
|
|
199
|
+
*/
|
|
200
|
+
observe(domElement) {
|
|
201
|
+
focusTracker.add(domElement);
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* @inheritDoc
|
|
205
|
+
*/
|
|
206
|
+
stopObserving(domElement) {
|
|
207
|
+
focusTracker.remove(domElement);
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
}
|
|
190
211
|
/**
|
|
191
212
|
* Returns positioning options for the {@link #_balloon}. They control the way balloon is attached
|
|
192
213
|
* to the selection.
|
|
@@ -183,7 +183,6 @@ export default class BlockToolbar extends Plugin {
|
|
|
183
183
|
panelView.content.add(this.toolbarView);
|
|
184
184
|
panelView.class = 'ck-toolbar-container';
|
|
185
185
|
editor.ui.view.body.add(panelView);
|
|
186
|
-
editor.ui.focusTracker.add(panelView.element);
|
|
187
186
|
// Close #panelView on `Esc` press.
|
|
188
187
|
this.toolbarView.keystrokes.set('Esc', (evt, cancel) => {
|
|
189
188
|
this._hidePanel(true);
|
|
@@ -218,7 +217,6 @@ export default class BlockToolbar extends Plugin {
|
|
|
218
217
|
}
|
|
219
218
|
});
|
|
220
219
|
editor.ui.view.body.add(buttonView);
|
|
221
|
-
editor.ui.focusTracker.add(buttonView.element);
|
|
222
220
|
return buttonView;
|
|
223
221
|
}
|
|
224
222
|
/**
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 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
|
+
.ck.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow {
|
|
7
|
+
pointer-events: none;
|
|
8
|
+
z-index: var(--ck-z-default);
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 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
|
+
/*
|
|
7
|
+
* Note: This file should contain the wireframe styles only. But since there are no such styles,
|
|
8
|
+
* it acts as a message to the builder telling that it should look for the corresponding styles
|
|
9
|
+
* **in the theme** when compiling the editor.
|
|
10
|
+
*/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 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
|
+
/*
|
|
7
|
+
* Note: This file should contain the wireframe styles only. But since there are no such styles,
|
|
8
|
+
* it acts as a message to the builder telling that it should look for the corresponding styles
|
|
9
|
+
* **in the theme** when compiling the editor.
|
|
10
|
+
*/
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 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
|
+
.ck.ck-dropdown-menu__nested-menu__panel {
|
|
7
|
+
position: absolute;
|
|
8
|
+
max-height: 314px; /* With the default settings, this is equal to 10 menu items. */
|
|
9
|
+
overflow-y: auto;
|
|
10
|
+
z-index: calc(var(--ck-z-panel) + 1);
|
|
11
|
+
}
|