From 87fd5008b5950ff5ff2f9612c9262eeffc7bfd0b Mon Sep 17 00:00:00 2001 From: Jason Schleifer Date: Sun, 17 Nov 2024 14:07:41 +1300 Subject: [PATCH] add more file types to be able to find --- js/gtUIUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/gtUIUtils.js b/js/gtUIUtils.js index 42a077b..314584d 100644 --- a/js/gtUIUtils.js +++ b/js/gtUIUtils.js @@ -168,7 +168,7 @@ export function gtUIAddUploadWidget(nodeType, nodeData, widgetName, type="audio" console.log("text here") Object.assign(fileInput, { type: "file", - accept: "text/plain,text/markdown,text/html,text/csv,text/xml,text/yaml,text/json", + accept: "text/plain,text/markdown,text/html,text/csv,text/xml,text/yaml,text/json,application/json,application/pdf,application/x-yaml,application/vnd.ms-excel,application/csv,application/tsv,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,text/tab-separated-values,text/info", style: "display: none", onchange: async () => { if (fileInput.files.length) {