Always navigate to after the frontmatter

This commit is contained in:
Zef Hemel
2026-05-22 17:04:34 +02:00
parent 7517f2c662
commit e8bdfd098b
-8
View File
@@ -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