mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
refactoring + uploading attachments WIP
This commit is contained in:
@@ -442,7 +442,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
|
||||
const importService = await import('../services/import.js');
|
||||
|
||||
importService.uploadFiles(node.data.noteId, files, {
|
||||
importService.uploadFiles('notes', node.data.noteId, files, {
|
||||
safeImport: true,
|
||||
shrinkImages: true,
|
||||
textImportedAsText: true,
|
||||
|
||||
Reference in New Issue
Block a user