Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

[Feature] Quill Rich Text Editor #53

Merged
merged 2 commits into from
Mar 25, 2022
Merged

[Feature] Quill Rich Text Editor #53

merged 2 commits into from
Mar 25, 2022

Conversation

rawilk
Copy link
Owner

@rawilk rawilk commented Mar 25, 2022

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>

@rawilk rawilk added the feature request New feature or request label Mar 25, 2022
@rawilk rawilk merged commit 327f294 into main Mar 25, 2022
@rawilk rawilk deleted the quill branch March 25, 2022 19:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant