Merge remote-tracking branch 'origin/develop' into feature/touchbar

This commit is contained in:
Elian Doran
2025-04-13 22:55:44 +03:00
1292 changed files with 28141 additions and 110482 deletions

View File

@@ -420,6 +420,9 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
// click event won't propagate so let's close context menu manually
contextMenu.hide();
// hide all dropdowns, fix calendar widget dropdown doesn't close when click on a note
$('.dropdown-menu').parent('.dropdown').find('[data-bs-toggle="dropdown"]').dropdown('hide');
this.clearSelectedNodes();
const notePath = treeService.getNotePath(data.node);
@@ -1685,7 +1688,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
this.triggerCommand("showImportDialog", { noteId: node.data.noteId });
}
editNoteTitleCommand({ node }: CommandListenerData<"editNoteTitle">) {
editNoteTitleCommand() {
appContext.triggerCommand("focusOnTitle");
}