fix(ribbon): formatting toolbar overrides edited notes activation (closes #7900)

This commit is contained in:
Elian Doran 2025-11-30 10:43:06 +02:00
parent d9e8f8e69b
commit 0b28159e8e
No known key found for this signature in database

View File

@ -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
},
{