mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 10:16:26 +00:00
Merge pull request #2868 from dredav/issue-2859
[Fix] Cloning a note will now clone more note properties
This commit is contained in:
@@ -716,7 +716,11 @@ class NoteList extends React.Component {
|
|||||||
folder: folder.key,
|
folder: folder.key,
|
||||||
title: firstNote.title + ' ' + i18n.__('copy'),
|
title: firstNote.title + ' ' + i18n.__('copy'),
|
||||||
content: firstNote.content,
|
content: firstNote.content,
|
||||||
linesHighlighted: firstNote.linesHighlighted
|
linesHighlighted: firstNote.linesHighlighted,
|
||||||
|
description: firstNote.description,
|
||||||
|
snippets: firstNote.snippets,
|
||||||
|
tags: firstNote.tags,
|
||||||
|
isStarred: firstNote.isStarred
|
||||||
})
|
})
|
||||||
.then((note) => {
|
.then((note) => {
|
||||||
attachmentManagement.cloneAttachments(firstNote, note)
|
attachmentManagement.cloneAttachments(firstNote, note)
|
||||||
|
|||||||
Reference in New Issue
Block a user