@vaadin/rich-text-editor 23.4.0 → 23.4.1

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": "23.4.0",
3
+ "version": "23.4.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -40,14 +40,14 @@
40
40
  ],
41
41
  "dependencies": {
42
42
  "@polymer/polymer": "^3.0.0",
43
- "@vaadin/button": "~23.4.0",
44
- "@vaadin/component-base": "~23.4.0",
45
- "@vaadin/confirm-dialog": "~23.4.0",
46
- "@vaadin/text-field": "~23.4.0",
47
- "@vaadin/tooltip": "~23.4.0",
48
- "@vaadin/vaadin-lumo-styles": "~23.4.0",
49
- "@vaadin/vaadin-material-styles": "~23.4.0",
50
- "@vaadin/vaadin-themable-mixin": "~23.4.0"
43
+ "@vaadin/button": "~23.4.1",
44
+ "@vaadin/component-base": "~23.4.1",
45
+ "@vaadin/confirm-dialog": "~23.4.1",
46
+ "@vaadin/text-field": "~23.4.1",
47
+ "@vaadin/tooltip": "~23.4.1",
48
+ "@vaadin/vaadin-lumo-styles": "~23.4.1",
49
+ "@vaadin/vaadin-material-styles": "~23.4.1",
50
+ "@vaadin/vaadin-themable-mixin": "~23.4.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@esm-bundle/chai": "^4.3.4",
@@ -62,5 +62,5 @@
62
62
  "web-types.json",
63
63
  "web-types.lit.json"
64
64
  ],
65
- "gitHead": "c104ecc83b82425fc4899e5eac9d91a114874c8e"
65
+ "gitHead": "7f8c68fc31880385593d59233616b23654d9c048"
66
66
  }
@@ -634,8 +634,9 @@ class RichTextEditor extends ElementMixin(ThemableMixin(PolymerElement)) {
634
634
  });
635
635
 
636
636
  editorContent.addEventListener('focus', () => {
637
- // Format changed, but no value changed happened
638
- if (this._toolbarState === STATE.CLICKED) {
637
+ // When editing link, editor gets focus while dialog is still open.
638
+ // Keep toolbar state as clicked in this case to fire change event.
639
+ if (this._toolbarState === STATE.CLICKED && !this._linkEditing) {
639
640
  this._cleanToolbarState();
640
641
  }
641
642
  });
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": "23.4.0",
4
+ "version": "23.4.1",
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": "23.4.0",
4
+ "version": "23.4.1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {