mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
quick unhoist link/button
This commit is contained in:
@@ -117,7 +117,7 @@ const keyBindings = {
|
||||
"ctrl+h": node => {
|
||||
hoistedNoteService.getHoistedNoteId().then(hoistedNoteId => {
|
||||
if (node.data.noteId === hoistedNoteId) {
|
||||
hoistedNoteService.setHoistedNoteId('root');
|
||||
hoistedNoteService.unhoist();
|
||||
}
|
||||
else {
|
||||
hoistedNoteService.setHoistedNoteId(node.data.noteId);
|
||||
|
||||
Reference in New Issue
Block a user