mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 16:26:31 +01:00
add keyboard shortcut for the edit button, #2036
This commit is contained in:
@@ -35,6 +35,13 @@ export default class RootCommandExecutor extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
editReadOnlyNoteCommand() {
|
||||
const noteContext = appContext.tabManager.getActiveContext();
|
||||
noteContext.readOnlyTemporarilyDisabled = true;
|
||||
|
||||
appContext.triggerEvent("readOnlyTemporarilyDisabled", { noteContext });
|
||||
}
|
||||
|
||||
async cloneNoteIdsToCommand({noteIds}) {
|
||||
const d = await import("../dialogs/clone_to.js");
|
||||
d.showDialog(noteIds);
|
||||
|
||||
Reference in New Issue
Block a user