upd: 输入回调设置到表单值

This commit is contained in:
2025-08-01 20:56:26 +08:00
parent cb28273ec2
commit b2764afe78
2 changed files with 2 additions and 0 deletions
@@ -108,6 +108,7 @@ export default {
// 纯文本内容
const text = editor.getText()
this.$emit('change', html, text)
this.$emit('input', html, text)
},
/**
* 编辑器销毁时的回调函数。调用 editor.destroy() 即可销毁编辑器