You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
im developing a project using vue 3 and use this @vueup/vue-quill
in the latest version @1.2.0 the documentation says to add a module just add it via :module props
this is my code
`<script setup>
import { QuillEditor } from '@vueup/vue-quill'
import { Mention } from 'quill-mention'
const modules = ref(
{
name: 'mention,
module: Mention,
options: {
spaceAfterInsert: true,
mentionDenotationChars: ['@'],
async source(textAfter renderList) {
const matchedPeople = await getOptionsData(textAfter)
if (!matchedPeople.length)
return renderList([], textAfter)
renderList(matchedPeople, textAfter)
},
},
}
)
</script>`
// as the documentation describe in documentation
but getting an error when rendering the dom like this err: quill.keyboard.bindings[Keys.TAB] is undefined ----mentions.ts
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
im developing a project using vue 3 and use this @vueup/vue-quill
in the latest version @1.2.0 the documentation says to add a module just add it via :module props
this is my code
`<script setup>
import { QuillEditor } from '@vueup/vue-quill'
import { Mention } from 'quill-mention'
const modules = ref(
{
name: 'mention,
module: Mention,
options: {
spaceAfterInsert: true,
mentionDenotationChars: ['@'],
async source(textAfter renderList) {
const matchedPeople = await getOptionsData(textAfter)
}
)
</script>`
// as the documentation describe in documentation
but getting an error when rendering the dom like this
err: quill.keyboard.bindings[Keys.TAB] is undefined ----mentions.ts
any hint to ressolve the problem ? thanks btw
Beta Was this translation helpful? Give feedback.
All reactions