@if (!Arr::get($attributes, 'without-buttons', false))
@php
$id = Arr::get($attributes, 'id', $name);
@endphp
{{ trans('core/base::forms.show_hide_editor') }}
{{ trans('core/media::media.add') }}
{!! apply_filters(BASE_FILTER_FORM_EDITOR_BUTTONS, null, $attributes, $id) !!}
@push('header')
{!! apply_filters(BASE_FILTER_FORM_EDITOR_BUTTONS_HEADER, null, $attributes, $id) !!}
@endpush
@push('footer')
{!! apply_filters(BASE_FILTER_FORM_EDITOR_BUTTONS_FOOTER, null, $attributes, $id) !!}
@endpush
@else
@php Arr::forget($attributes, 'with-short-code'); @endphp
@endif
{!! call_user_func_array([Form::class, BaseHelper::getRichEditor()], [$name, $value, $attributes]) !!}