You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Support importing JEX and raw data
This commit is contained in:
@ -80,8 +80,12 @@ function shimInit() {
|
||||
|
||||
await Resource.save(resource, { isNew: true });
|
||||
|
||||
const newBody = [];
|
||||
if (note.body) newBody.push(note.body);
|
||||
newBody.push(Resource.markdownTag(resource));
|
||||
|
||||
const newNote = Object.assign({}, note, {
|
||||
body: note.body + "\n\n" + Resource.markdownTag(resource),
|
||||
body: newBody.join('\n\n'),
|
||||
});
|
||||
return await Note.save(newNote);
|
||||
}
|
||||
|
Reference in New Issue
Block a user