Javascript 如何在nuxt js的羽毛笔编辑器中使用onkeyup
如何在nuxt js的quill编辑器中使用onkeyup、onchange事件 我必须检查输入的文字是否有不好的字眼Javascript 如何在nuxt js的羽毛笔编辑器中使用onkeyup,javascript,vue.js,nuxt.js,Javascript,Vue.js,Nuxt.js,如何在nuxt js的quill编辑器中使用onkeyup、onchange事件 我必须检查输入的文字是否有不好的字眼 <quill-editor id="description" v-model="$v.form.description.$model"/> 使用羽毛笔编辑器,您可以使用@change <quill-editor :content="text" @change="onTextChange&
<quill-editor id="description" v-model="$v.form.description.$model"/>
使用羽毛笔编辑器,您可以使用
@change
<quill-editor :content="text" @change="onTextChange" />
onTextChange(newText) {
// Do your verification
this.text = newText;
}
onTextChange(newText){
//进行验证
this.text=newText;
}
Henri请调查这个问题