Skip to content
Discussion options

You must be logged in to vote

Using the above 2 links documentation I was able to figure it out. I wish Orchid would consider switching to Livewire.

This was my JS controller solution how to initialize Quill if it helps anybody else out:

import Quill from 'quill/dist/quill.js';
import htmlEditButton from "quill-html-edit-button";

Quill.register({
"modules/htmlEditButton": htmlEditButton
});

export default class extends window.Controller {
/**
*
*/
connect() {
const quill = Quill;
const selector = this.element.querySelector('.quill').id;
const input = this.element.querySelector('input');

    const options = {
        placeholder: input.placeholder,
        readOnly: input.readOnly,
        theme: 'snow',
        module…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by wsdnathan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant