@vaadin/rich-text-editor 24.2.0-alpha13 → 24.2.0-alpha15
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 +11 -11
- package/src/vaadin-rich-text-editor.js +2 -0
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/rich-text-editor",
|
|
3
|
-
"version": "24.2.0-
|
|
3
|
+
"version": "24.2.0-alpha15",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -40,18 +40,18 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@polymer/polymer": "^3.0.0",
|
|
43
|
-
"@vaadin/button": "24.2.0-
|
|
44
|
-
"@vaadin/component-base": "24.2.0-
|
|
45
|
-
"@vaadin/confirm-dialog": "24.2.0-
|
|
46
|
-
"@vaadin/text-field": "24.2.0-
|
|
47
|
-
"@vaadin/tooltip": "24.2.0-
|
|
48
|
-
"@vaadin/vaadin-lumo-styles": "24.2.0-
|
|
49
|
-
"@vaadin/vaadin-material-styles": "24.2.0-
|
|
50
|
-
"@vaadin/vaadin-themable-mixin": "24.2.0-
|
|
43
|
+
"@vaadin/button": "24.2.0-alpha15",
|
|
44
|
+
"@vaadin/component-base": "24.2.0-alpha15",
|
|
45
|
+
"@vaadin/confirm-dialog": "24.2.0-alpha15",
|
|
46
|
+
"@vaadin/text-field": "24.2.0-alpha15",
|
|
47
|
+
"@vaadin/tooltip": "24.2.0-alpha15",
|
|
48
|
+
"@vaadin/vaadin-lumo-styles": "24.2.0-alpha15",
|
|
49
|
+
"@vaadin/vaadin-material-styles": "24.2.0-alpha15",
|
|
50
|
+
"@vaadin/vaadin-themable-mixin": "24.2.0-alpha15"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@esm-bundle/chai": "^4.3.4",
|
|
54
|
-
"@vaadin/a11y-base": "24.2.0-
|
|
54
|
+
"@vaadin/a11y-base": "24.2.0-alpha15",
|
|
55
55
|
"@vaadin/testing-helpers": "^0.5.0",
|
|
56
56
|
"gulp": "^4.0.2",
|
|
57
57
|
"gulp-cli": "^2.3.0",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"web-types.json",
|
|
64
64
|
"web-types.lit.json"
|
|
65
65
|
],
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "043dbb1c2513685a98354921876d35fa18bca7a2"
|
|
67
67
|
}
|
|
@@ -935,6 +935,8 @@ class RichTextEditor extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
935
935
|
|
|
936
936
|
// Remove Quill classes, e.g. ql-syntax, except for align
|
|
937
937
|
content = content.replace(/\s*ql-(?!align)[\w-]*\s*/gu, '');
|
|
938
|
+
// Remove meta spans, e.g. cursor which are empty after Quill classes removed
|
|
939
|
+
content = content.replace(/<\/?span[^>]*>/gu, '');
|
|
938
940
|
|
|
939
941
|
// Replace Quill align classes with inline styles
|
|
940
942
|
[this.__dir === 'rtl' ? 'left' : 'right', 'center', 'justify'].forEach((align) => {
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED