@useinsider/guido 3.7.2-beta.d9b8dc8 → 3.7.2-beta.f2cc903
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.
|
@@ -56,7 +56,7 @@ const l = [
|
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
id: "strip-font-tags",
|
|
59
|
-
description: 'Unwrap <font dir="auto"> tags
|
|
59
|
+
description: 'Unwrap browser-translate-injected <font dir="auto"> tags, keeping inner content; other <font> elements are left intact.',
|
|
60
60
|
type: "custom",
|
|
61
61
|
processor: (e) => n(e),
|
|
62
62
|
priority: 15
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Browser translate extensions wrap text in nested `<font dir="auto">` tags that
|
|
3
|
-
* pile up
|
|
3
|
+
* pile up and eventually exceed Chrome's DOM-depth limit. Unwrap only those
|
|
4
4
|
* (keep inner content); leave other `<font>` untouched. Pure string ops, no DOM.
|
|
5
5
|
*/
|
|
6
6
|
export declare function stripFontTags(html: string): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/guido",
|
|
3
|
-
"version": "3.7.2-beta.
|
|
3
|
+
"version": "3.7.2-beta.f2cc903",
|
|
4
4
|
"description": "Guido is a Vue + TypeScript wrapper for Email Plugin. Easily embed the email editor in your Vue applications.",
|
|
5
5
|
"main": "./dist/guido.umd.cjs",
|
|
6
6
|
"module": "./dist/library.js",
|