@vaadin/rich-text-editor 25.3.0-alpha8 → 25.3.0-alpha9

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/rich-text-editor",
3
- "version": "25.3.0-alpha8",
3
+ "version": "25.3.0-alpha9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,22 +35,22 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@open-wc/dedupe-mixin": "^1.3.0",
38
- "@vaadin/a11y-base": "25.3.0-alpha8",
39
- "@vaadin/button": "25.3.0-alpha8",
40
- "@vaadin/component-base": "25.3.0-alpha8",
41
- "@vaadin/confirm-dialog": "25.3.0-alpha8",
42
- "@vaadin/overlay": "25.3.0-alpha8",
43
- "@vaadin/text-field": "25.3.0-alpha8",
44
- "@vaadin/tooltip": "25.3.0-alpha8",
45
- "@vaadin/vaadin-themable-mixin": "25.3.0-alpha8",
38
+ "@vaadin/a11y-base": "25.3.0-alpha9",
39
+ "@vaadin/button": "25.3.0-alpha9",
40
+ "@vaadin/component-base": "25.3.0-alpha9",
41
+ "@vaadin/confirm-dialog": "25.3.0-alpha9",
42
+ "@vaadin/overlay": "25.3.0-alpha9",
43
+ "@vaadin/text-field": "25.3.0-alpha9",
44
+ "@vaadin/tooltip": "25.3.0-alpha9",
45
+ "@vaadin/vaadin-themable-mixin": "25.3.0-alpha9",
46
46
  "lit": "^3.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@vaadin/aura": "25.3.0-alpha8",
50
- "@vaadin/chai-plugins": "25.3.0-alpha8",
51
- "@vaadin/test-runner-commands": "25.3.0-alpha8",
49
+ "@vaadin/aura": "25.3.0-alpha9",
50
+ "@vaadin/chai-plugins": "25.3.0-alpha9",
51
+ "@vaadin/test-runner-commands": "25.3.0-alpha9",
52
52
  "@vaadin/testing-helpers": "^2.0.0",
53
- "@vaadin/vaadin-lumo-styles": "25.3.0-alpha8",
53
+ "@vaadin/vaadin-lumo-styles": "25.3.0-alpha9",
54
54
  "sinon": "^22.0.0"
55
55
  },
56
56
  "cvdlName": "vaadin-rich-text-editor",
@@ -59,5 +59,5 @@
59
59
  "web-types.json",
60
60
  "web-types.lit.json"
61
61
  ],
62
- "gitHead": "ccbb4aaffb63c745c6da0426b532d4d05e47af29"
62
+ "gitHead": "cb915ebde095ec5b94a87af93dd4530f51984c52"
63
63
  }
@@ -11,6 +11,7 @@ import '../vendor/vaadin-quill.js';
11
11
  import { isKeyboardActive } from '@vaadin/a11y-base/src/focus-utils.js';
12
12
  import { timeOut } from '@vaadin/component-base/src/async.js';
13
13
  import { Debouncer } from '@vaadin/component-base/src/debounce.js';
14
+ import { setOrRemoveAttribute } from '@vaadin/component-base/src/dom-utils.js';
14
15
  import { I18nMixin } from '@vaadin/component-base/src/i18n-mixin.js';
15
16
 
16
17
  const Quill = window.Quill;
@@ -893,11 +894,7 @@ export const RichTextEditorMixin = (superClass) =>
893
894
  /** @private */
894
895
  _toggleToolbarDisabled(disable) {
895
896
  const buttons = this._toolbarButtons;
896
- if (disable) {
897
- buttons.forEach((btn) => btn.setAttribute('disabled', 'true'));
898
- } else {
899
- buttons.forEach((btn) => btn.removeAttribute('disabled'));
900
- }
897
+ buttons.forEach((btn) => setOrRemoveAttribute(btn, 'disabled', disable));
901
898
  }
902
899
 
903
900
  /** @private */
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/rich-text-editor",
4
- "version": "25.3.0-alpha8",
4
+ "version": "25.3.0-alpha9",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/rich-text-editor",
4
- "version": "25.3.0-alpha8",
4
+ "version": "25.3.0-alpha9",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {