Cant import modules/mention in quill 2.0.0-dev.2 build
See original GitHub issueI can’t import this module after installing quill development build.
previously in quill 1.3.6 I used this module with the steps bellow:
- install using
npm install quill-mention --save
- import using
import "quill-mention"
- and adding mention module to quill option
mention: {
allowedChars: /^[A-Za-z\sÅÄÖåäö]*$/,
mentionDenotationChars: ["@"],
source: a_function.bind.(this),
},
but now it just error Cannot import modules/mention. Are you sure it was registered?
, Cannot load mention module. Are you sure you registered it?
there wasn’t any step explained to import this module in the README.md, perhaps my import was wrong?
because I see other plugin require to register it using Quill.register(a_module)
but this isn’t
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Cant import modules/mention in quill 2.0.0-dev.2 build #36
I can't import this module after installing quill development build. previously in quill 1.3.6 I used this module with the steps bellow: ...
Read more >How do I fix this error I get whenever I try to register quill-better ...
Whenever I try to register the quill-better-table module. I face major issues. Look at my code below. import { Component , ViewChild, OnInit} ......
Read more >Adding Quill to Your Build Pipeline
The purpose of the entry files for both builds, quill.js and core.js, is to import and register necessary dependencies. You will likely want...
Read more >Using Tables In Quill.js With Rails and Stimulus | by Dale Zak
The following will show how to use Stimulus to create a Quill editor as well as add some missing table functionality. Add Quill...
Read more >Quill-mention demo - CodeSandbox
import "./styles.css"; · import Quill from "quill"; · import mention from "quill-mention"; · const atValues = [ · { id: 1, value: "Fredrik...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For me it worked by registering the module:
For angular I guess this should work:
There is a version problem , even I suffered the same issue quill-mention is supported in quill current version and not supported in quill 2.0