Merge branch 'master' into excalidraw

This commit is contained in:
zadam
2022-05-12 23:46:52 +02:00
committed by GitHub
20 changed files with 661 additions and 221 deletions

View File

@@ -307,6 +307,16 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
}
}
async executeInActiveNoteDetailWidgetEvent({callback}) {
if (!this.isActiveNoteContext()) {
return;
}
await this.initialized;
callback(this);
}
async cutIntoNoteCommand() {
const note = appContext.tabManager.getActiveContextNote();