mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
set copy plain text delimiter to tab
This commit is contained in:
@ -474,7 +474,7 @@ const copyRow = (format: string) => {
|
||||
|
||||
const htmlContent = createHtmlTable(arrayContent);
|
||||
const htmlBlob = new Blob([htmlContent.outerHTML], { type: 'text/html' });
|
||||
const textBlob = new Blob([arrayContent.map(row => row.join(' ')).join('\n')], { type: 'text/plain' });
|
||||
const textBlob = new Blob([arrayContent.map(row => row.join('\t')).join('\n')], { type: 'text/plain' });
|
||||
const data = [new ClipboardItem({
|
||||
'text/plain': textBlob,
|
||||
'text/html': htmlBlob
|
||||
|
Reference in New Issue
Block a user