@ckeditor/ckeditor5-ui 47.7.1-alpha.0 → 47.7.2-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/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/button/buttonview.js +1 -1
- package/src/dropdown/utils.js +3 -2
- package/src/editorui/editorui.js +1 -1
- package/src/toolbar/block/blocktoolbar.js +1 -1
- package/theme/components/panel/stickypanel.css +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ui",
|
|
3
|
-
"version": "47.7.
|
|
3
|
+
"version": "47.7.2-alpha.0",
|
|
4
4
|
"description": "The UI framework and standard UI library of CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"type": "module",
|
|
18
18
|
"main": "src/index.js",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@ckeditor/ckeditor5-core": "47.7.
|
|
21
|
-
"@ckeditor/ckeditor5-editor-multi-root": "47.7.
|
|
22
|
-
"@ckeditor/ckeditor5-engine": "47.7.
|
|
23
|
-
"@ckeditor/ckeditor5-icons": "47.7.
|
|
24
|
-
"@ckeditor/ckeditor5-utils": "47.7.
|
|
20
|
+
"@ckeditor/ckeditor5-core": "47.7.2-alpha.0",
|
|
21
|
+
"@ckeditor/ckeditor5-editor-multi-root": "47.7.2-alpha.0",
|
|
22
|
+
"@ckeditor/ckeditor5-engine": "47.7.2-alpha.0",
|
|
23
|
+
"@ckeditor/ckeditor5-icons": "47.7.2-alpha.0",
|
|
24
|
+
"@ckeditor/ckeditor5-utils": "47.7.2-alpha.0",
|
|
25
25
|
"@types/color-convert": "2.0.4",
|
|
26
26
|
"color-convert": "3.1.0",
|
|
27
27
|
"color-parse": "2.0.2",
|
package/src/button/buttonview.js
CHANGED
|
@@ -151,7 +151,7 @@ export class ButtonView extends View {
|
|
|
151
151
|
return String(!!isOn);
|
|
152
152
|
});
|
|
153
153
|
// On Safari we have to force the focus on a button on click as it's the only browser
|
|
154
|
-
// that doesn't do that automatically. See
|
|
154
|
+
// that doesn't do that automatically. See https://github.com/ckeditor/ckeditor5/issues/12115.
|
|
155
155
|
if (env.isSafari) {
|
|
156
156
|
if (!this._focusDelayed) {
|
|
157
157
|
this._focusDelayed = delay(() => this.focus(), 0);
|
package/src/dropdown/utils.js
CHANGED
|
@@ -489,8 +489,9 @@ function focusDropdownButtonOnClose(dropdownView) {
|
|
|
489
489
|
return;
|
|
490
490
|
}
|
|
491
491
|
const elements = dropdownView.focusTracker.elements;
|
|
492
|
-
// If the dropdown was closed, move the focus back to the button (
|
|
493
|
-
// Don't touch the focus, if it moved somewhere else (e.g. moved to the editing root on #execute)
|
|
492
|
+
// If the dropdown was closed, move the focus back to the button (https://github.com/ckeditor/ckeditor5/issues/12125).
|
|
493
|
+
// Don't touch the focus, if it moved somewhere else (e.g. moved to the editing root on #execute).
|
|
494
|
+
// See https://github.com/ckeditor/ckeditor5/issues/12178.
|
|
494
495
|
// Note: Don't use the state of the DropdownView#focusTracker here. It fires #blur with the timeout.
|
|
495
496
|
if (elements.some(element => element.contains(global.document.activeElement))) {
|
|
496
497
|
dropdownView.buttonView.focus();
|
package/src/editorui/editorui.js
CHANGED
|
@@ -364,7 +364,7 @@ export class EditorUI extends /* #__PURE__ */ ObservableMixin() {
|
|
|
364
364
|
// This ensures, the navigation works always the same and no pair of toolbars takes over
|
|
365
365
|
// (e.g. image and table toolbars when a selected image is inside a cell).
|
|
366
366
|
// * It could be that the focus went to the toolbar by clicking a toolbar item (e.g. a dropdown). In this case,
|
|
367
|
-
// there were no candidates so they must be obtained (
|
|
367
|
+
// there were no candidates so they must be obtained (https://github.com/ckeditor/ckeditor5/issues/12339).
|
|
368
368
|
if (!currentFocusedToolbarDefinition || !candidateDefinitions) {
|
|
369
369
|
candidateDefinitions = this._getFocusableCandidateToolbarDefinitions();
|
|
370
370
|
}
|
|
@@ -174,7 +174,7 @@ export class BlockToolbar extends Plugin {
|
|
|
174
174
|
*/
|
|
175
175
|
destroy() {
|
|
176
176
|
super.destroy();
|
|
177
|
-
// Destroy created UI components as they are not automatically destroyed (see ckeditor5
|
|
177
|
+
// Destroy created UI components as they are not automatically destroyed (see https://github.com/ckeditor/ckeditor5/issues/1341).
|
|
178
178
|
this.panelView.destroy();
|
|
179
179
|
this.buttonView.destroy();
|
|
180
180
|
this.toolbarView.destroy();
|