sdfdsf
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
Mailadmin ist ein modulares Email-Template-System mit Admin-UI und lokal eingebundenem GrapesJS-Editor.
|
||||
Mailadmin ist ein modulares Email-Template-System mit Admin-UI und lokal eingebundenem GrapesJS-Editor.
|
||||
Es verwaltet Templates, Sections und Snippets, nutzt eine JSON-API mit Prefix-Support
|
||||
und laesst sich ueber Bridge-Module (Blocks, RTE, Table Builder) erweitern.
|
||||
|
||||
@@ -50,10 +50,10 @@
|
||||
Array.from(el.attributes).forEach((attr) => {
|
||||
const name = attr.name.toLowerCase();
|
||||
if (tag === 'a') {
|
||||
if (!['href', 'target', 'rel', 'style'].includes(name)) {
|
||||
if (!['href', 'target', 'rel', 'style', 'class'].includes(name)) {
|
||||
el.removeAttribute(attr.name);
|
||||
}
|
||||
} else if (name !== 'style') {
|
||||
} else if (!['style', 'class'].includes(name)) {
|
||||
el.removeAttribute(attr.name);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user