mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
clipper doesn't open new tab if the note is already loaded in existing tab
This commit is contained in:
@@ -38,7 +38,7 @@ async function addClipping(req) {
|
||||
|
||||
const rewrittenContent = await addImagesToNote(images, clippingNote, content);
|
||||
|
||||
await clippingNote.setContent(await clippingNote.getContent() + rewrittenContent);
|
||||
await clippingNote.setContent(await clippingNote.getContent() + '<p>' + rewrittenContent + '</p>');
|
||||
|
||||
return {
|
||||
noteId: clippingNote.noteId
|
||||
|
||||
Reference in New Issue
Block a user