diff --git a/src/application/services/useNoteEditor.ts b/src/application/services/useNoteEditor.ts index 1d5b4ad5..48ffffd4 100644 --- a/src/application/services/useNoteEditor.ts +++ b/src/application/services/useNoteEditor.ts @@ -144,6 +144,9 @@ export const useNoteEditor = function useNoteEditor(options: UseNoteEditorOption return; } + isEditorReady.value = false; + toolsUserConfigLoaded.value = false; + await loadToolsScripts(tools); }, { immediate: true, // load tools if they are passed to the composable immediately