diff --git a/packages/client/internals/Editor.vue b/packages/client/internals/Editor.vue index fbb1edc814..2f2dc759d3 100644 --- a/packages/client/internals/Editor.vue +++ b/packages/client/internals/Editor.vue @@ -102,6 +102,11 @@ onMounted(async () => { noteEditor.refresh() }) }) + + watch(currentSlideId, () => { + contentEditor.clearHistory() + noteEditor.clearHistory() + }, { flush: 'post' }) }) const handlerDown = ref(false)