react-quill icon indicating copy to clipboard operation
react-quill copied to clipboard

How do I create a Custom HTML Toolbar in Next.js with Typescript?

Open IvanFarkas opened this issue 2 years ago • 3 comments

I am using [email protected] in Next.js with Typescript. I got the basics going using dynamic loading.

const QuillNoSSRWrapper = dynamic(import('react-quill'), {
  ssr: false,
  loading: () => <p>Loading...</p>
});

A React example is provided for Custom HTML Toolbar

  • What's the Next.js TypeScript equivalent of this.quill?
  • How do I implement the Custom HTML Toolbar in Next.js with Typescript?

IvanFarkas avatar Jan 04 '23 19:01 IvanFarkas

You can take a look in here https://github.com/zenoamaro/react-quill#html-toolbar, although i'm currently experiencing problem with it, i cant add new button to format the editor

ahmad-reza619 avatar Jan 21 '23 10:01 ahmad-reza619

It's not working with Next.js Typescript.

IvanFarkas avatar Jan 25 '23 20:01 IvanFarkas

@IvanFarkas @ahmad-reza619 I'm working on this exact thing right now, maybe you could help me with a related problem I just posted?

adatti avatar Apr 26 '23 09:04 adatti