@props([ 'description' => '', 'wireModel' => 'description', 'title' => 'Full Description', 'height' => '400', // Default height, can be overridden ]) @php // Use json_encode to safely pass the description into JavaScript. $escapedDescription = json_encode($description); $editorId = 'ckeditor_' . uniqid(); @endphp
@error('{{ $wireModel }}') {{ $message }} @enderror
@once @push('styles') @endpush @push('scripts') @endpush @endonce