1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Desktop: Resolves #8722: Add option to import HTML and TXT file (#8729)

This commit is contained in:
Hubert
2023-09-11 13:25:12 -03:00
committed by GitHub
parent 217fd20985
commit 5a5a8526c3
3 changed files with 42 additions and 22 deletions

View File

@ -10,6 +10,7 @@ interface BaseMetadata {
fileExtensions: string[];
description: string;
isDefault: boolean;
separatorAfter: boolean; // this isn't a property of the importer, but of how it should be displayed in the GUI
supportsMobile: boolean;
@ -51,6 +52,7 @@ const defaultBaseMetadata = {
isNoteArchive: true,
supportsMobile: true,
isDefault: false,
separatorAfter: false,
};
const moduleFullLabel = (metadata: ImportMetadata|ExportMetadata, moduleSource: FileSystemItem = null) => {