diff --git a/config/current.ver b/config/current.ver index 2833ec4..b09d96b 100644 --- a/config/current.ver +++ b/config/current.ver @@ -1 +1 @@ -1.2.78 \ No newline at end of file +1.2.80 diff --git a/public/assets/js/bridge/blocks-custom/elements/table-2xn.js b/public/assets/js/bridge/blocks-custom/elements/table-2xn.js index 7818107..c02ffdf 100644 --- a/public/assets/js/bridge/blocks-custom/elements/table-2xn.js +++ b/public/assets/js/bridge/blocks-custom/elements/table-2xn.js @@ -6,16 +6,16 @@ content:` - - + + - - + + - - + +
Spalte ASpalte BSpalte ASpalte B
Zeile 1...Zeile 1...
Zeile 2...Zeile 2...
` diff --git a/public/assets/js/bridge/table-builder.js b/public/assets/js/bridge/table-builder.js index 8863947..d30ad83 100644 --- a/public/assets/js/bridge/table-builder.js +++ b/public/assets/js/bridge/table-builder.js @@ -43,23 +43,31 @@ const label = existingVal || (r === 0 ? `Spalte ${String.fromCharCode(65 + c)}` : `Zeile ${r} / ${c + 1}`); if (r === 0) { row.components.push({ + type: 'text', tagName: 'th', + editable: true, + selectable: true, + hoverable: true, + draggable: false, attributes: { style: headStyle, - 'data-gjs-selectable': 'false', 'data-gjs-draggable': 'false', }, - components: [{ type: 'textnode', content: label }], + content: label, }); } else { row.components.push({ + type: 'text', tagName: 'td', + editable: true, + selectable: true, + hoverable: true, + draggable: false, attributes: { style: cellStyle, - 'data-gjs-selectable': 'false', 'data-gjs-draggable': 'false', }, - components: [{ type: 'textnode', content: label }], + content: label, }); } }