[英]How to use onkeyup in quill editor in nuxt js
如何在 nuxt.js 中的羽毛笔编辑器中使用 onkeyup、onchange 事件我必须检查输入的文本是否有错误的词
<quill-editor id="description" v-model="$v.form.description.$model"/>
使用 quill-editor,您可以使用@change
<quill-editor :content="text" @change="onTextChange" />
onTextChange(newText) {
// Do your verification
this.text = newText;
}
如果你想听特定的键,那么你可以使用这个: https://quilljs.com/docs/modules/keyboard/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.