mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-10 03:53:37 -06:00
fix(ribbon): formatting toolbar overrides edited notes activation (closes #7900)
This commit is contained in:
parent
d9e8f8e69b
commit
0b28159e8e
@ -26,7 +26,7 @@ export const RIBBON_TAB_DEFINITIONS: TabConfiguration[] = [
|
|||||||
&& !(await noteContext?.isReadOnly()),
|
&& !(await noteContext?.isReadOnly()),
|
||||||
toggleCommand: "toggleRibbonTabClassicEditor",
|
toggleCommand: "toggleRibbonTabClassicEditor",
|
||||||
content: FormattingToolbar,
|
content: FormattingToolbar,
|
||||||
activate: true,
|
activate: () => !options.is("editedNotesOpenInRibbon"),
|
||||||
stayInDom: true
|
stayInDom: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user