feat: Added Super & HTML import options in Import modal. Google Keep notes will now also be imported as Super notes, with attachments if importing from HTML (#2433)
This commit is contained in:
@@ -39,7 +39,9 @@ export const getNoteBlob = (application: WebApplicationInterface, note: SNNote)
|
||||
break
|
||||
}
|
||||
const content =
|
||||
note.noteType === NoteType.Super ? new HeadlessSuperConverter().convertString(note.text, format) : note.text
|
||||
note.noteType === NoteType.Super
|
||||
? new HeadlessSuperConverter().convertSuperStringToOtherFormat(note.text, format)
|
||||
: note.text
|
||||
const blob = new Blob([content], {
|
||||
type,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user