mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
fix for issue #2859: Cloning a note will now also copy the properties description, snippets, tags and isStarred
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