From 0beb80b2aac2c15e0aade37207795c9421690f7f Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Mon, 8 Dec 2025 00:24:10 +0100 Subject: [PATCH] sdsd --- public/assets/js/bridge/blocks-custom.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/assets/js/bridge/blocks-custom.js b/public/assets/js/bridge/blocks-custom.js index 7b5ae4c..48b9028 100644 --- a/public/assets/js/bridge/blocks-custom.js +++ b/public/assets/js/bridge/blocks-custom.js @@ -91,8 +91,9 @@ const domc = editor.DomComponents; if (domc.getType(PLACEHOLDER_COMPONENT)) return; + const baseType = domc.getType('text') ? 'text' : 'default'; domc.addType(PLACEHOLDER_COMPONENT, { - extend: 'text', + extend: baseType, isComponent(el) { if (el && el.hasAttribute && el.hasAttribute('data-placeholder-type')) { return { type: PLACEHOLDER_COMPONENT };