rawilk / laravel-form-components

Form components built for Tailwind & Livewire.
https://randallwilk.dev/docs/laravel-form-components
MIT License
386 stars 42 forks source link

[Feature] Quill Rich Text Editor #53

Closed rawilk closed 2 years ago

rawilk commented 2 years ago

This PR adds a new rich text editor component that utilizes the quill editor.

The editor will allow for wire:model, x-model, and plain value support.

One caveat to using x-model: You will need to listen for a quill-input event, and update your alpine model accordingly.

<div x-data="{ content: '' }" x-on:quill-input="content = $event.detail">
   <x-quill x-model="content" />
</div>