question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to use quill plugins with react-quill

See original GitHub issue

How do I use such a plugin? https://github.com/kensnyder/quill-image-resize-module

Currently, I get -> TypeError: Cannot read property ‘imports’ of undefined

Codesadbox link

Thanks for filing an issue!

If at all possible, please provide a Codesandbox or Codepen to demonstrate the problem you’re having with React Quill. Here’s a template to get you started.

⚠️ Make sure that your bug hasn’t already been fixed by ReactQuill v2.0.0-beta.2. See the homepage for instructions on how to upgrade.

Ticket due diligence

  • I have verified that the issue persists under ReactQuill v2.0.0-beta.2
  • I can’t use the beta version for other reasons

ReactQuill version

  • master
  • v2.0.0-beta.2
  • v2.0.0-beta.1
  • 1.3.5
  • 1.3.4 or older
  • Other (fork)

FAQ

Is this a bug in Quill or ReactQuill?

ReactQuill is just a ~thin~ wrapper on top of the Quill editor. Often, what looks like a bug in ReactQuill, is actually a bug in the Quill editor itself. Before opening a ticket, please check the Quill documentation, and the issues page, and see if that answers your question first.

How do I access the wrapped Quill instance?

See the instance methods and API documentation.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

4reactions
anmol5varmacommented, Sep 24, 2020

@ArjunAtlast Use this instead

import ReactQuill, { Quill } from ‘react-quill’; import ImageResize from ‘quill-image-resize-module-react’; Quill.register(‘modules/imageResize’, ImageResize);

module = { imageResize: { // parchment: Quill.import(‘parchment’), modules: [‘Resize’, ‘DisplaySize’] } };

0reactions
dextel2commented, Jun 21, 2022

Is there any library that works like this for iframes?

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-quill examples - CodeSandbox
Learn how to use react-quill by viewing and forking react-quill example apps on CodeSandbox.
Read more >
JavaScript & Node.js Tutorials Examples of react-quill | Tabnine
How to use react-quill. Best JavaScript code snippets using react-quill(Showing top 9 results out of 315).
Read more >
How to Customize Quill - Quill Rich Text Editor
Quill is a free, open source WYSIWYG editor built for the modern web. Completely customize it for any need with its modular architecture...
Read more >
Build a WYSIWYG text editor using Quill - LogRocket Blog
javascript import ReactQuill from 'react-quill'; import 'react-quill/dist/quill.snow.css'; const App = () => { return ( <ReactQuill ...
Read more >
React-quill
React-quill is a React component wrapping Quill.js, the free, open source WYSIWYG editor built for the modern web.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found