mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
allow converting file attachments to file notes
This commit is contained in:
parent
bdfa13a8a0
commit
90f4c6b0d1
@ -8,7 +8,8 @@ const protectedSessionService = require('../../services/protected_session.js');
|
|||||||
const log = require('../../services/log.js');
|
const log = require('../../services/log.js');
|
||||||
|
|
||||||
const attachmentRoleToNoteTypeMapping = {
|
const attachmentRoleToNoteTypeMapping = {
|
||||||
'image': 'image'
|
'image': 'image',
|
||||||
|
'file': 'file'
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user