diff --git a/app/src/protyle/header/Title.ts b/app/src/protyle/header/Title.ts index 59c8ffb8f..1473b6f30 100644 --- a/app/src/protyle/header/Title.ts +++ b/app/src/protyle/header/Title.ts @@ -93,6 +93,8 @@ export class Title { document.execCommand("insertText", false, replaceFileName(content)); this.rename(protyle); }); + event.preventDefault(); + event.stopPropagation(); } if (matchHotKey(window.siyuan.config.keymap.general.enterBack.custom, event)) { const ids = protyle.path.split("/");