@vaadin/rich-text-editor 23.0.0-alpha2 → 23.0.0-alpha3
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/package.json +9 -9
- package/src/vaadin-rich-text-editor-content-styles.js +1 -1
- package/src/vaadin-rich-text-editor-icons.js +1 -1
- package/src/vaadin-rich-text-editor-styles.js +1 -1
- package/src/vaadin-rich-text-editor-toolbar-styles.js +1 -1
- package/src/vaadin-rich-text-editor.d.ts +1 -1
- package/src/vaadin-rich-text-editor.js +8 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/rich-text-editor",
|
|
3
|
-
"version": "23.0.0-
|
|
3
|
+
"version": "23.0.0-alpha3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@polymer/polymer": "^3.0.0",
|
|
40
|
-
"@vaadin/button": "23.0.0-
|
|
41
|
-
"@vaadin/component-base": "23.0.0-
|
|
42
|
-
"@vaadin/confirm-dialog": "23.0.0-
|
|
43
|
-
"@vaadin/text-field": "23.0.0-
|
|
40
|
+
"@vaadin/button": "23.0.0-alpha3",
|
|
41
|
+
"@vaadin/component-base": "23.0.0-alpha3",
|
|
42
|
+
"@vaadin/confirm-dialog": "23.0.0-alpha3",
|
|
43
|
+
"@vaadin/text-field": "23.0.0-alpha3",
|
|
44
44
|
"@vaadin/vaadin-license-checker": "^2.1.0",
|
|
45
|
-
"@vaadin/vaadin-lumo-styles": "23.0.0-
|
|
46
|
-
"@vaadin/vaadin-material-styles": "23.0.0-
|
|
47
|
-
"@vaadin/vaadin-themable-mixin": "23.0.0-
|
|
45
|
+
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha3",
|
|
46
|
+
"@vaadin/vaadin-material-styles": "23.0.0-alpha3",
|
|
47
|
+
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"gulp-iconfont": "^11.0.0",
|
|
55
55
|
"sinon": "^9.2.1"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "490037919a9e054cc002c1b3be0c94a1603e1a44"
|
|
58
58
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
|
|
5
5
|
*/
|
|
6
6
|
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
|
|
5
5
|
*/
|
|
6
6
|
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
|
|
5
5
|
*/
|
|
6
6
|
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
|
|
5
5
|
*/
|
|
6
6
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
|
|
5
5
|
*/
|
|
6
6
|
import '@vaadin/button/src/vaadin-button.js';
|
|
@@ -644,11 +644,14 @@ class RichTextEditor extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
644
644
|
e.preventDefault();
|
|
645
645
|
let index = buttons.indexOf(e.target);
|
|
646
646
|
buttons[index].setAttribute('tabindex', '-1');
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
647
|
+
|
|
648
|
+
let step;
|
|
649
|
+
if (e.keyCode === 39) {
|
|
650
|
+
step = 1;
|
|
651
|
+
} else if (e.keyCode === 37) {
|
|
652
|
+
step = -1;
|
|
651
653
|
}
|
|
654
|
+
index = (buttons.length + index + step) % buttons.length;
|
|
652
655
|
buttons[index].removeAttribute('tabindex');
|
|
653
656
|
buttons[index].focus();
|
|
654
657
|
}
|