Api: Don't try to translate URLs

Also sub-classes email, phone, etc.
This commit is contained in:
nathan 2024-02-02 09:24:12 -07:00
parent b5dfe12669
commit d132609165

View File

@ -31,6 +31,9 @@ export class Et2UrlReadonly extends Et2Description
];
}
// Don't try to translate URLs (or sub-classes)
noLang = true;
transformAttributes(attrs)
{
if (typeof attrs.onclick === 'undefined')