From 7564d5996ad74545e68df63a6cf216654b0f709c Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Fri, 6 Feb 2026 00:56:30 +0100 Subject: [PATCH] Element Korrektur --- config/current.ver | 2 +- public/assets/js/bridge/blocks-custom.js | 80 +++++++++++++++++------- 2 files changed, 59 insertions(+), 23 deletions(-) diff --git a/config/current.ver b/config/current.ver index 234ef7d..352aa14 100644 --- a/config/current.ver +++ b/config/current.ver @@ -1 +1 @@ -1.2.61 \ No newline at end of file +1.2.62 \ No newline at end of file diff --git a/public/assets/js/bridge/blocks-custom.js b/public/assets/js/bridge/blocks-custom.js index 9c4ee09..179bc45 100644 --- a/public/assets/js/bridge/blocks-custom.js +++ b/public/assets/js/bridge/blocks-custom.js @@ -76,20 +76,38 @@ // TABLE addOnce(bm, 'cust-table', { id:'cust-table', label:'🧩 Tabelle (2xN)', - content:` - - - - - - - - - - - - -
Spalte ASpalte B
Zeile 1...
Zeile 2...
` }); + content:{ + type:'default', + tagName:'table', + attributes:{ + role:'presentation', + width:'100%', + cellpadding:'0', + cellspacing:'0', + 'data-bridge-table':'1', + 'data-bridge-rows':'3', + 'data-bridge-cols':'2' + }, + style:{ + 'font-family':'Arial,sans-serif', + 'border-collapse':'collapse', + 'width':'100%', + 'margin-bottom':'16px' + }, + components:` + + Spalte A + Spalte B + + + Zeile 1 + ... + + + Zeile 2 + ... + ` + } }); // DIVIDER addOnce(bm, 'cust-divider',{ id:'cust-divider',label:'⎯ Divider', @@ -101,14 +119,32 @@ // MEDIA LEFT addOnce(bm, 'cust-media-left', { id:'cust-media-left', label:'🖼️◀ Text', - content:` -
- Bild - -

Überschrift

-

Beschreibungstext …

- Mehr erfahren -
` }); + content:{ + type:'default', + tagName:'table', + attributes:{ + role:'presentation', + width:'100%', + cellpadding:'0', + cellspacing:'0' + }, + style:{ + 'font-family':'Arial,sans-serif', + 'border-collapse':'collapse', + 'margin-bottom':'16px' + }, + components:` + + + Bild + + +

Überschrift

+

Beschreibungstext …

+ Mehr erfahren + + ` + } }); // HERO addOnce(bm, 'cust-hero', { id:'cust-hero', label:'🌄 Hero',