fix(ribbon): formatting tab not activating automatically (closes #7185)

This commit is contained in:
Elian Doran 2025-10-03 16:46:26 +03:00
parent f6898779bb
commit ba91fbbe6b
No known key found for this signature in database

View File

@ -51,6 +51,7 @@ const TAB_CONFIGURATION = numberObjectsInPlace<TabConfiguration>([
show: ({ note }) => note?.type === "text" && options.get("textNoteEditorType") === "ckeditor-classic", show: ({ note }) => note?.type === "text" && options.get("textNoteEditorType") === "ckeditor-classic",
toggleCommand: "toggleRibbonTabClassicEditor", toggleCommand: "toggleRibbonTabClassicEditor",
content: FormattingToolbar, content: FormattingToolbar,
activate: true,
stayInDom: true stayInDom: true
}, },
{ {