mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
fix(attributes): attributes context menu no longer triggering
This commit is contained in:
parent
b7d118a12c
commit
27eed9b25e
@ -198,6 +198,8 @@ export default class AttributeEditorWidget extends NoteContextAwareWidget implem
|
|||||||
],
|
],
|
||||||
selectMenuItemHandler: ({ command }) => this.handleAddNewAttributeCommand(command)
|
selectMenuItemHandler: ({ command }) => this.handleAddNewAttributeCommand(command)
|
||||||
});
|
});
|
||||||
|
// Prevent automatic hiding of the context menu due to the button being clicked.
|
||||||
|
e.stopPropagation();
|
||||||
}
|
}
|
||||||
|
|
||||||
// triggered from keyboard shortcut
|
// triggered from keyboard shortcut
|
||||||
|
Loading…
x
Reference in New Issue
Block a user