Replies: 3 comments 3 replies
-
Hi, I'm experiencing the same problem, may I ask how you ended up solving the whole issue! |
Beta Was this translation helpful? Give feedback.
-
Was this ever addressed or a solution found? |
Beta Was this translation helpful? Give feedback.
-
For those interested.... I got the mentions working. Below is my component and a snippet from package.json. `
`
I added "quill": "^2.0.2" and ran npm run build |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Plugin docs: https://github.com/quill-mention/quill-mention
Here is the code I used to integrate
``import '@vueup/vue-quill/dist/vue-quill.snow.css';
import {Mention} from "quill-mention";
Quill.register({ "modules/mention": Mention });
const atValues = [
{ id: 1, value: "Fredrik Sundqvist" },
{ id: 2, value: "Patrik Sjölin" }
];
const hashValues = [
{ id: 3, value: "Fredrik Sundqvist 2" },
{ id: 4, value: "Patrik Sjölin 2" }
];
const modules = {
name: 'modules/mention',
module: Mention,
options: {
allowedChars: /^[A-Za-z\sÅÄÖåäö]*$/,
mentionDenotationChars: ["@", "#"],
source: function(searchTerm, renderList, mentionChar) {
let values;
}``
TypeError: Cannot read properties of undefined (reading 'unshift')
at new _Mention (chunk-UGV3LHLP.js?v=7a037e72:8985:39)
Beta Was this translation helpful? Give feedback.
All reactions