Skip to content

Build your personal knowledge base with Trilium Notes

feat(toc): Set tocActiveHeadingEnabled to true by default.

SiriusXT3bd6272c4908
diff --git a/packages/trilium-core/src/services/options_init.ts b/packages/trilium-core/src/services/options_init.ts
index f44f1bf26e..639732725d 100644
--- a/packages/trilium-core/src/services/options_init.ts
+++ b/packages/trilium-core/src/services/options_init.ts
@@ -161,7 +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: "tocActiveHeadingEnabled", value: "true", isSynced: true },
{ name: "highlightsList", value: '["underline","color","bgColor"]', isSynced: true },
{ name: "checkForUpdates", value: "true", isSynced: true },
{ name: "disableTray", value: "false", isSynced: false },