quill icon indicating copy to clipboard operation
quill copied to clipboard

Regression Quill 2.0.0 ( Quill.register)

Open Didi3333 opened this issue 1 year ago • 1 comments

With ReactJS On Version 2.0.0 Quill.register is not a function

That works with Quill 2.0.0-dev.4

To reproduce, i have created two codesanbox :

Quill 2.0.0-dev.4: (Version that works) https://codesandbox.io/p/sandbox/quill-2-0-0-dev-4-w2sfmd

Quill 2.0.0 (Version with error) https://codesandbox.io/p/sandbox/quill-2-0-0-33qn9p

Didi3333 avatar Apr 23 '24 15:04 Didi3333

react-quilljs is a thrid-party library and looks like it doesn't support Quill 2.0 yet. In fact you don't need a library in order to use Quill in your project. Here's an example: https://quilljs.com/playground/react

For the issue with react-quilljs, I think the reason is that Quill 2.0.0 is an ESM package whereas dev.4 is a CJS package, and react-quilljs may not support ESM correctly.

luin avatar Apr 24 '24 07:04 luin

quill-react-commercial use the latest [email protected].

ludejun avatar May 06 '24 01:05 ludejun