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

Broken non-minified dist version #7

Closed
pedrosanta opened this issue Jan 25, 2018 · 2 comments
Closed

Broken non-minified dist version #7

pedrosanta opened this issue Jan 25, 2018 · 2 comments
Labels

Comments

@pedrosanta
Copy link
Collaborator

So, noticed earlier that when trying to use the non-minified version of this module (/dist/quill-cursors.js) on the included example, it doesn't run and displays the following error:

TypeError: undefined is not an object (evaluating 'target.register') (...)

I think this has to do to some issue with Webpack bundling, but still haven't found out why.

@pedrosanta pedrosanta added the bug label Jan 25, 2018
@jeffbryner
Copy link

Can 2nd this. When trying to import the non-minified version I get the same error. Importing the min.js version works:
In my meteor project I need to do:
const QuillCursors=require('quill-cursors/dist/quill-cursors.min.js');

then
Quill.register('modules/cursors', QuillCursors);
Quill.import('modules/cursors')
to have it all work out properly

@alecgibson
Copy link
Collaborator

This should now be fixed in the latest version.

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

No branches or pull requests

3 participants