Skip to content

Build your personal knowledge base with Trilium Notes

fix(in-app-help): set proper hoist for split help

Elian Doranb2bbf9cc5bd4
diff --git a/src/public/app/widgets/floating_buttons/help_button.ts b/src/public/app/widgets/floating_buttons/help_button.ts
index cdc394eb51..4173ac6fbb 100644
--- a/src/public/app/widgets/floating_buttons/help_button.ts
+++ b/src/public/app/widgets/floating_buttons/help_button.ts
@@ -54,7 +54,8 @@ export default class ContextualHelpButton extends NoteContextAwareWidget {
const { ntxId } = subContexts[subContexts.length - 1];
this.triggerCommand("openNewNoteSplit", {
ntxId,
- notePath: `_help_${this.helpNoteIdToOpen}`
+ notePath: `_help_${this.helpNoteIdToOpen}`,
+ hoistedNoteId: "_help"
})
});
}