fixed jsonl problems, support jsonl without header

This commit is contained in:
Jan Prochazka
2022-02-13 22:05:41 +01:00
parent b8584db48f
commit 8b929f40d2
6 changed files with 50 additions and 13 deletions

View File

@@ -30,6 +30,7 @@
category: 'JSON Lines editor',
name: 'Preview',
icon: 'icon preview',
keyText: 'F5',
testEnabled: () => getCurrentEditor() != null,
onClick: () => getCurrentEditor().preview(),
});
@@ -99,6 +100,7 @@
title: 'Preview #',
icon: 'img archive',
tabComponent: 'ArchiveFileTab',
forceNewTab: true,
props: {
jslid,
},