Skip to content

Build your personal knowledge base with Trilium Notes

fix(options): add initial value for tocActiveHeadingEnabled

SiriusXTebb3d1a338ad
diff --git a/packages/trilium-core/src/services/options_init.ts b/packages/trilium-core/src/services/options_init.ts
index f445ce964b..f44f1bf26e 100644
--- a/packages/trilium-core/src/services/options_init.ts
+++ b/packages/trilium-core/src/services/options_init.ts
@@ -161,6 +161,7 @@ const defaultOptions: DefaultOption[] = [
{ name: "compressImages", value: "true", isSynced: true },
{ name: "downloadImagesAutomatically", value: "true", isSynced: true },
{ name: "minTocHeadings", value: "5", isSynced: true },
+ { name: "tocActiveHeadingEnabled", value: "false", isSynced: true },
{ name: "highlightsList", value: '["underline","color","bgColor"]', isSynced: true },
{ name: "checkForUpdates", value: "true", isSynced: true },
{ name: "disableTray", value: "false", isSynced: false },