Commit f8ffebb6 authored by Alejandro Celaya's avatar Alejandro Celaya Committed by Alejandro Celaya

Put plain text and rich text formats next to each other

parent 5b655303
......@@ -55,18 +55,18 @@ const exportFormats: ExportFormat[] = [
shortTitle: 'Text',
description: 'For import into word processors as plain text',
},
{
value: 'csv',
title: 'Table (CSV)',
shortTitle: 'CSV',
description: 'For import into a spreadsheet',
},
{
value: 'html',
title: 'Rich text (HTML)',
shortTitle: 'HTML',
description: 'For import into word processors as rich text',
},
{
value: 'csv',
title: 'Table (CSV)',
shortTitle: 'CSV',
description: 'For import into a spreadsheet',
},
];
function formatToMimeType(format: ExportFormat['value']): string {
......
......@@ -269,13 +269,13 @@ describe('ExportAnnotations', () => {
optionText(1, 'description'),
'For import into word processors as plain text',
);
assert.equal(optionText(2, 'name'), 'Table (CSV)');
assert.equal(optionText(2, 'description'), 'For import into a spreadsheet');
assert.equal(optionText(3, 'name'), 'Rich text (HTML)');
assert.equal(optionText(2, 'name'), 'Rich text (HTML)');
assert.equal(
optionText(3, 'description'),
optionText(2, 'description'),
'For import into word processors as rich text',
);
assert.equal(optionText(3, 'name'), 'Table (CSV)');
assert.equal(optionText(3, 'description'), 'For import into a spreadsheet');
});
[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment