fix: Fixed issue with some Evernote imports getting cut-off

This commit is contained in:
Aman Harwara
2024-04-19 16:55:45 +05:30
parent 6e282c1c9a
commit 2bc7d57235
4 changed files with 38 additions and 25 deletions

View File

@@ -1,6 +1,7 @@
import { NoteType } from '@standardnotes/features'
import { DecryptedItemInterface, FileItem, ItemContent, NoteContent, SNNote, SNTag } from '@standardnotes/models'
import { ConversionResult } from './ConversionResult'
import { SuperConverterHTMLOptions } from '@standardnotes/snjs'
export interface Converter {
getImportType(): string
@@ -18,7 +19,7 @@ export interface Converter {
canUploadFiles: boolean
uploadFile: UploadFileFn
canUseSuper: boolean
convertHTMLToSuper: (html: string) => string
convertHTMLToSuper: (html: string, options?: SuperConverterHTMLOptions) => string
convertMarkdownToSuper: (markdown: string) => string
readFileAsText: (file: File) => Promise<string>
linkItems(