fix: automatically convert Super notes to Markdown for the Plaintext Backups feature
This commit is contained in:
@@ -6,7 +6,7 @@ import Icon from '../Icon/Icon'
|
||||
import Modal, { ModalAction } from '../Modal/Modal'
|
||||
import { EditorMenuItem } from '../NotesOptions/EditorMenuItem'
|
||||
import { NoteViewController } from '../NoteView/Controller/NoteViewController'
|
||||
import { exportSuperNote } from './SuperNoteExporter'
|
||||
import { InvisibleSuperConverter } from './Tools/InvisibleMarkdownConverter'
|
||||
|
||||
const SuperNoteConverter = ({
|
||||
note,
|
||||
@@ -47,7 +47,7 @@ const SuperNoteConverter = ({
|
||||
return note.text
|
||||
}
|
||||
|
||||
return exportSuperNote(note, format)
|
||||
return new InvisibleSuperConverter().convertString(note.text, format)
|
||||
}, [format, note])
|
||||
|
||||
const componentViewer = useMemo(() => {
|
||||
|
||||
Reference in New Issue
Block a user