@php $editor = new \Botble\Base\Supports\Editor(); $editor->registerAssets(); $attributes = Arr::set($attributes, 'class', Arr::get($attributes, 'class', 'form-control') . ' editor-' . setting('rich_editor', config('core.base.general.editor.primary'))); $attributes['id'] = $name; $attributes['rows'] = 3; @endphp {!! Form::textarea($name, $value, $attributes) !!} @push('scripts') @endpush