mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 14:06:15 +00:00
- 2.x - sites (wip)
- improved ssh error handling - database soft deletes
This commit is contained in:
18
resources/views/web/fields/code-editor.blade.php
Normal file
18
resources/views/web/fields/code-editor.blade.php
Normal file
@ -0,0 +1,18 @@
|
||||
<x-dynamic-component :component="$getFieldWrapperView()" :field="$field" :label-sr-only="$isLabelHidden()">
|
||||
<div
|
||||
wire:ignore
|
||||
x-data="codeEditorFormComponent({
|
||||
state: $wire.{{ $applyStateBindingModifiers('entangle(\'' . $getStatePath() . '\')') }},
|
||||
options: @js($getOptions()),
|
||||
})"
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
id="{{ $getId() }}"
|
||||
{{ $attributes->merge(["class" => "mt-1 min-h-[400px] w-full border border-gray-100 dark:border-gray-700"]) }}
|
||||
class="ace-vito ace_dark"
|
||||
></div>
|
||||
<textarea id="textarea-{{ $getId() }}" style="display: none" x-model="state"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</x-dynamic-component>
|
Reference in New Issue
Block a user