feat: add option to open new note in a new tab

This commit is contained in:
Kelvin John Falk Szolnoky 2024-01-24 22:50:24 +01:00
parent 9ca51ffc59
commit e7aabb9cb9
No known key found for this signature in database
GPG key ID: 02BA666D8C0E7E1B
2 changed files with 14 additions and 0 deletions

View file

@ -278,6 +278,8 @@ export default class MediaDbPlugin extends Plugin {
try {
console.debug('MDB | creating new note');
options.openNote = this.settings.openNoteInNewTab;
const fileContent = await this.generateMediaDbNoteContents(mediaTypeModel, options);
if (!options.folder) {