From e8bdfd098b9ad4bb4e5cf8709c89d6813b0afe02 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Fri, 22 May 2026 17:04:34 +0200 Subject: [PATCH] Always navigate to after the frontmatter --- plugs/editor/navigate.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugs/editor/navigate.ts b/plugs/editor/navigate.ts index aa6cf529..65c89e28 100644 --- a/plugs/editor/navigate.ts +++ b/plugs/editor/navigate.ts @@ -90,14 +90,6 @@ async function actionClickOrActionEnter( ref.path = currentPath; } - // TODO: Navigate behind frontmatter? - // This is an explicit navigate, move to the top - if (!ref.details) { - ref.details = { - type: "position", - pos: 0, - }; - } return editor.navigate(ref, false, inNewWindow); } // https://example.org