Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(ribbon): formatting toolbar overrides edited notes activation (closes #7900)
Elian Doran0b28159e8ee8
diff --git a/apps/client/src/widgets/ribbon/RibbonDefinition.ts b/apps/client/src/widgets/ribbon/RibbonDefinition.tsindex 8117c511a9..ae4aac3f36 100644--- a/apps/client/src/widgets/ribbon/RibbonDefinition.ts+++ b/apps/client/src/widgets/ribbon/RibbonDefinition.ts@@ -26,7 +26,7 @@ export const RIBBON_TAB_DEFINITIONS: TabConfiguration[] = [&& !(await noteContext?.isReadOnly()),toggleCommand: "toggleRibbonTabClassicEditor",content: FormattingToolbar,- activate: true,+ activate: () => !options.is("editedNotesOpenInRibbon"),stayInDom: true},{