elements
This commit is contained in:
@@ -1 +1 @@
|
|||||||
1.2.63
|
1.2.64
|
||||||
@@ -75,9 +75,11 @@
|
|||||||
<a href="#" style="${css({display:'inline-block','background-color':'#0ea5e9',color:'#fff','text-decoration':'none',padding:'10px 18px','border-radius':'6px','font-family':'Arial,sans-serif','font-size':'14px'})}">Call To Action</a></div>` });
|
<a href="#" style="${css({display:'inline-block','background-color':'#0ea5e9',color:'#fff','text-decoration':'none',padding:'10px 18px','border-radius':'6px','font-family':'Arial,sans-serif','font-size':'14px'})}">Call To Action</a></div>` });
|
||||||
|
|
||||||
// TABLE
|
// TABLE
|
||||||
|
const hasBridgeTable = !!(editor && editor.DomComponents && editor.DomComponents.getType && editor.DomComponents.getType('bridge-table'));
|
||||||
|
const tableType = hasBridgeTable ? 'bridge-table' : 'table';
|
||||||
addOnce(bm, 'cust-table', { id:'cust-table', label:'🧩 Tabelle (2xN)',
|
addOnce(bm, 'cust-table', { id:'cust-table', label:'🧩 Tabelle (2xN)',
|
||||||
content:{
|
content:{
|
||||||
type:'bridge-table',
|
type: tableType,
|
||||||
tagName:'table',
|
tagName:'table',
|
||||||
attributes:{
|
attributes:{
|
||||||
role:'presentation',
|
role:'presentation',
|
||||||
|
|||||||
Reference in New Issue
Block a user