From 71efbb088075451fcd8b282525939dfd36ffcd32 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 31 May 2019 11:01:52 +0200 Subject: [PATCH] Trigger file upload with button Signed-off-by: Thomas Citharel --- js/src/components/Editor.vue | 29 ++++++++++++++++++++++++++++- js/src/utils/upload.ts | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 js/src/utils/upload.ts diff --git a/js/src/components/Editor.vue b/js/src/components/Editor.vue index 8ff091c86..a40f5640e 100644 --- a/js/src/components/Editor.vue +++ b/js/src/components/Editor.vue @@ -52,6 +52,13 @@ + +