@php $token = \Illuminate\Support\Str::random(40); $initialValue = $value; if (is_array($value)) { $initialValue = json_encode($value); } if (empty($initialValue) || $initialValue === 'null') { $initialValue = '[]'; } $sectionTypes = \V2\Services\LandingSectionsEditor\Services\LandingSectionsEditorRendererService::getSectionTypes(); @endphp @include('v2-service-contentricheditor::components.forms.content-rich-editor', ['assets_only' => true]) @include('v2-service-landingsectionseditor::components.forms.logic.styles')
@if(!empty($label)) @endif {{-- Input hidden principal que conterá o JSON serializado das seções --}}

@include('v2-service-landingsectionseditor::components.forms.logic.section-modal') @include('v2-service-gallery::components.gallery-picker', ['name' => 'lse_global_media_picker', 'ownerModule' => 'landing_page', 'allowedMimeTypes' => ['image/*'], 'allowShared' => true]) @push('scripts') @endpush