@ckeditor/ckeditor5-ui 44.2.1-alpha.0 → 44.3.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/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/colorpicker/colorpickerview.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ui",
|
|
3
|
-
"version": "44.
|
|
3
|
+
"version": "44.3.0-alpha.0",
|
|
4
4
|
"description": "The UI framework and standard UI library of CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "44.
|
|
16
|
-
"@ckeditor/ckeditor5-editor-multi-root": "44.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "44.
|
|
18
|
-
"@ckeditor/ckeditor5-utils": "44.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "44.3.0-alpha.0",
|
|
16
|
+
"@ckeditor/ckeditor5-editor-multi-root": "44.3.0-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "44.3.0-alpha.0",
|
|
18
|
+
"@ckeditor/ckeditor5-utils": "44.3.0-alpha.0",
|
|
19
19
|
"@types/color-convert": "2.0.4",
|
|
20
20
|
"color-convert": "2.0.1",
|
|
21
21
|
"color-parse": "1.4.2",
|
|
@@ -114,13 +114,15 @@ export default class ColorPickerView extends View {
|
|
|
114
114
|
focus() {
|
|
115
115
|
// In some browsers we need to move the focus to the input first.
|
|
116
116
|
// Otherwise, the color picker doesn't behave as expected.
|
|
117
|
+
// In Chrome, after selecting the color via slider the first time,
|
|
118
|
+
// the editor collapses the selection and doesn't apply the color change.
|
|
117
119
|
// In FF, after selecting the color via slider, it instantly moves back to the previous color.
|
|
118
120
|
// In all iOS browsers and desktop Safari, once the saturation slider is moved for the first time,
|
|
119
121
|
// editor collapses the selection and doesn't apply the color change.
|
|
120
122
|
// See: https://github.com/cksource/ckeditor5-internal/issues/3245, https://github.com/ckeditor/ckeditor5/issues/14119,
|
|
121
123
|
// https://github.com/cksource/ckeditor5-internal/issues/3268.
|
|
122
124
|
/* istanbul ignore next -- @preserve */
|
|
123
|
-
if (!this._config.hideInput && (env.isGecko || env.isiOS || env.isSafari)) {
|
|
125
|
+
if (!this._config.hideInput && (env.isGecko || env.isiOS || env.isSafari || env.isBlink)) {
|
|
124
126
|
const input = this.hexInputRow.children.get(1);
|
|
125
127
|
input.focus();
|
|
126
128
|
}
|