use textarea for code editor (#151)

This commit is contained in:
Saeed Vaziry
2024-04-03 22:38:28 +02:00
committed by GitHub
parent ca93b521ec
commit 2d566b853f
10 changed files with 8 additions and 96 deletions

View File

@ -22,9 +22,9 @@ class="space-y-6"
hx-swap="outerHTML"
>
<div id="vhost-container">
<x-code-editor id="vhost" name="vhost" rows="10" class="mt-1 block w-full">
<x-textarea id="vhost" name="vhost" rows="10" class="mt-1 block min-h-[400px] w-full">
{{ session()->has("vhost") ? session()->get("vhost") : "Loading..." }}
</x-code-editor>
</x-textarea>
</div>
@error("vhost")
<x-input-error class="mt-2" :messages="$message" />