Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import modules/table. Are you sure it was registered? #6

Open
MeXaaR opened this issue Sep 2, 2020 · 4 comments
Open

Cannot import modules/table. Are you sure it was registered? #6

MeXaaR opened this issue Sep 2, 2020 · 4 comments

Comments

@MeXaaR
Copy link

MeXaaR commented Sep 2, 2020

Hi guys, I have a problem on the module registration with React Quill

I do this

import ReactQuill, { Quill } from 'react-quill';

Quill.register({
  'modules/tableUI': QuillTableUI
}, true)

//component 
<ReactQuill
   id="content" 
   value={content} 
   onChange={onUpdateRichText} 
  modules={{
    table: true,
    tableUI: true,
    ...otherModules
}}
/>

And I've got a big red error
quill Cannot import modules/table. Are you sure it was registered?

I tried different thing but no success. Do you have a tip for me to register table module please ?

@shengslogar
Copy link

shengslogar commented Sep 14, 2020

The tables module is only available on the Quill 2.0 dev version and hasn't made it to the stable channel yet. npm install [email protected] is the latest.

@rimzzlabs
Copy link

The tables module is only available on the Quill 2.0 dev version and hasn't made it to the stable channel yet. npm install [email protected] is the latest.

I've upgraded my package, I still got the error

@SimeonKovachev
Copy link

How did you solve this?

@rimzzlabs
Copy link

How did you solve this?

I don't think it is solved, I recommend to check other library such as Tip Tap or Lexical

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants