fix: resolve TypeScript errors in frontend build
This commit is contained in:
@@ -43,7 +43,7 @@ const editor = useEditor({
|
||||
watch(() => props.modelValue, (newValue) => {
|
||||
if (!editor.value) return
|
||||
if (JSON.stringify(editor.value.getJSON()) !== JSON.stringify(newValue)) {
|
||||
editor.value.commands.setContent(newValue || '', false)
|
||||
editor.value.commands.setContent(newValue || '', { emitUpdate: false })
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user