fix: codemirror readonly when render_markup_view is set

This commit is contained in:
Benjamin Nussbaum 2026-01-13 17:06:13 +01:00
parent fceacfe4b3
commit c2c553461f

View file

@ -950,7 +950,7 @@ HTML;
/> />
<div <div
x-data="codeEditorFormComponent({ x-data="codeEditorFormComponent({
isDisabled: false, isDisabled: @js((bool)$plugin->render_markup_view),
language: 'liquid', language: 'liquid',
state: $wire.entangle('markup_code'), state: $wire.entangle('markup_code'),
textareaId: @js($textareaId) textareaId: @js($textareaId)