Trix
Last updated
Was this helpful?
Last updated
Was this helpful?
There are two versions of the Trix field, with and without attachments. The sponsor version has support for file uploads.
Requires you to have @stack('styles')
in head, and @stack('scripts')
after Livewire and Alpine script tags
Push external (cdn-links) for required scripts and styles to the layout
Omit, if you import the scripts manually
Only pushed once, even if you add multiple Trix fields to the same form.
Use this method to set the initial Trix input value. Use $this->model
to access existing model values.