From fcbc2922a3c5ecbef8fc2c0ab968de5bbee61aee Mon Sep 17 00:00:00 2001 From: philipp lang Date: Mon, 25 Dec 2023 21:15:25 +0100 Subject: [PATCH] Add edit mode --- index.html | 2 ++ src/Eventform.ce.vue | 42 ++++++++++++++++++++++++++++--- src/components/icons/EditIcon.vue | 29 +++++++++++++++++++++ tailwind.config.js | 3 +++ vite.config.js | 41 ++++++++++++++++-------------- 5 files changed, 95 insertions(+), 22 deletions(-) create mode 100644 src/components/icons/EditIcon.vue diff --git a/index.html b/index.html index 8017785..66ddf5a 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,8 @@ {"name": "Abschicken", "intro": "Jaöaöd", "fields": [ ]} ]}' + fields='[{"id":"TextField","name":"Text","default":{"name":"","type":"TextField","columns":{"mobile":2,"tablet":4,"desktop":12},"default":"","required":false}}]' + editable > diff --git a/src/Eventform.ce.vue b/src/Eventform.ce.vue index 7883d58..7bd8291 100644 --- a/src/Eventform.ce.vue +++ b/src/Eventform.ce.vue @@ -2,11 +2,11 @@
-