diff --git a/public/assets/js/bridge/blocks-custom.js b/public/assets/js/bridge/blocks-custom.js index bfe122f..6273a40 100644 --- a/public/assets/js/bridge/blocks-custom.js +++ b/public/assets/js/bridge/blocks-custom.js @@ -49,11 +49,19 @@ const bm = editor.BlockManager; - // TEXT + // TEXT 2 addOnce(bm, 'cust-text', { id:'cust-text', label:'📝 Text', - content:`
- Dies ist ein Absatz. Doppelklick zum Bearbeiten. -
` }); + content:{ + type:'text', + content:'Dies ist ein Absatz. Doppelklick zum Bearbeiten.', + style:{ + 'font-family':'Arial,sans-serif', + 'font-size':'14px', + 'line-height':'1.5', + color:'#0f172a', + margin:'0 0 12px' + } + } }); // IMAGE addOnce(bm, 'cust-image', { id:'cust-image', label:'🖼️ Bild',