mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
Add reopen_last_tab and copy_tab_to_new_window to tab management
This commit is contained in:
@@ -586,6 +586,11 @@ export default class TabManager extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
async copyTabToNewWindowCommand({ntxId}) {
|
||||
const {notePath, hoistedNoteId} = this.getNoteContextById(ntxId);
|
||||
this.triggerCommand('openInWindow', {notePath, hoistedNoteId});
|
||||
}
|
||||
|
||||
async reopenLastTabCommand() {
|
||||
let closeLastEmptyTab = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user