soccerloway / quill-better-table

Module for better table in Quill, more useful features are supported.
MIT License
313 stars 120 forks source link

Error: "Cannot import modules/formula. Are you sure it was registered?" #38

Closed ninbit closed 4 years ago

ninbit commented 4 years ago

When I try to use the formula module in your codepen example, it gives the error "Cannot import modules/formula. Are you sure it was registered?". (see it in here). Is this a limitation of quill-2.0.0.-dev.0? Or is it related to your implentation? How can I solve this issue? I want to use both formula and your better-table together.

Thanks for your hard work.

soccerloway commented 4 years ago

Hi @ninbit , formula is no longer a module in quill-2.0.x, but a format of quill. formula is registered as default. You just need to configure it in the toolbar, like: image

ninbit commented 4 years ago

Thank you for your quick answer and your beautiful library!