From f25ddb1cd2f092f7d869b9f65b1c283cec660940 Mon Sep 17 00:00:00 2001 From: Gabriele Cannata Date: Mon, 24 Jul 2023 22:46:58 +0200 Subject: [PATCH] tests --- src/Views/SheetView.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Views/SheetView.tsx b/src/Views/SheetView.tsx index 3b50156..197992c 100644 --- a/src/Views/SheetView.tsx +++ b/src/Views/SheetView.tsx @@ -52,7 +52,9 @@ export function processCodeBlock(source: string, el: HTMLElement, settings: Shee // const filename = `/Users/gcannata/Documents/Obsidian Vault/Dev Vault/Dev/.obsidian/plugins/obsidian-sheetjs/SampleData.xlsx`; - const filename = `/stuff/Book1.xlsx`; + const filename = `/stuff/Book2.xls`; + // const filename = `/stuff/Items.csv`; + // const filename = `/stuff/Book1.xlsx`; const container = el.createDiv() // container.style.width = "100%"; @@ -121,6 +123,9 @@ export function processCodeBlock(source: string, el: HTMLElement, settings: Shee // see https://docs.sheetjs.com/docs/demos/grid/xs // https://docs.sheetjs.com/xspreadsheet/ // https://github.com/myliang/x-spreadsheet + // https://forum.obsidian.md/t/saving-changes-in-codeblock-post-processor/47393 + // https://codesandbox.io/s/x-spreadsheet-react-3v1bw?file=/src/Spreadsheet.js:527-774 + // https://github.com/wolf-table/table // TODO: support other formats, not only binary // TODO: save into code block? // TODO: support $A$2