fix: resolve TypeScript errors in frontend build

This commit is contained in:
Hiro
2026-03-30 23:16:07 +00:00
parent b733306773
commit 24925e1acb
2941 changed files with 418042 additions and 49 deletions

View File

@@ -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 })
}
})