From bc6b054bbf67deb5459a44ccf16f061b7cb7e82d Mon Sep 17 00:00:00 2001 From: AlexthePear Date: Tue, 30 Apr 2024 19:47:32 -0700 Subject: [PATCH] Fixed issue with only having only allowing one tab open at a time for editor or preview tabs || Also converted all details and summary in editor components to svelte:fragments --- .../availability_question_input_editor.svelte | 6 ++---- src/lib/components/questions/base/base_editor.svelte | 9 +++++++-- .../questions/color/color_question_input_editor.svelte | 5 ++--- .../questions/date/date_question_input_editor.svelte | 5 ++--- .../datetime/datetime_question_input_editor.svelte | 5 ++--- .../questions/number/number_question_input_editor.svelte | 9 +++++---- .../questions/select/select_question_input_editor.svelte | 9 +++++---- .../questions/text/text_question_input_editor.svelte | 5 ++--- .../textarea/textarea_question_input_editor.svelte | 5 ++--- .../questions/time/time_question_input_editor.svelte | 5 ++--- .../timezone/timezone_question_input_editor.svelte | 5 ++--- 11 files changed, 33 insertions(+), 35 deletions(-) diff --git a/src/lib/components/questions/availability/availability_question_input_editor.svelte b/src/lib/components/questions/availability/availability_question_input_editor.svelte index 0a0ff78..321bb4a 100644 --- a/src/lib/components/questions/availability/availability_question_input_editor.svelte +++ b/src/lib/components/questions/availability/availability_question_input_editor.svelte @@ -32,9 +32,7 @@ -
- Sample - + -
+ diff --git a/src/lib/components/questions/base/base_editor.svelte b/src/lib/components/questions/base/base_editor.svelte index 0f4e7a2..8e90dce 100644 --- a/src/lib/components/questions/base/base_editor.svelte +++ b/src/lib/components/questions/base/base_editor.svelte @@ -13,7 +13,12 @@
- +
@@ -35,7 +40,7 @@
- +
diff --git a/src/lib/components/questions/color/color_question_input_editor.svelte b/src/lib/components/questions/color/color_question_input_editor.svelte index 72d29fb..2de6841 100644 --- a/src/lib/components/questions/color/color_question_input_editor.svelte +++ b/src/lib/components/questions/color/color_question_input_editor.svelte @@ -15,10 +15,9 @@ Default Color -
- Sample +
-
+ diff --git a/src/lib/components/questions/date/date_question_input_editor.svelte b/src/lib/components/questions/date/date_question_input_editor.svelte index 8160bb2..7d01530 100644 --- a/src/lib/components/questions/date/date_question_input_editor.svelte +++ b/src/lib/components/questions/date/date_question_input_editor.svelte @@ -26,10 +26,9 @@ Default Date -
- Sample +
-
+ diff --git a/src/lib/components/questions/datetime/datetime_question_input_editor.svelte b/src/lib/components/questions/datetime/datetime_question_input_editor.svelte index 89023cf..57e3fd8 100644 --- a/src/lib/components/questions/datetime/datetime_question_input_editor.svelte +++ b/src/lib/components/questions/datetime/datetime_question_input_editor.svelte @@ -26,10 +26,9 @@ Default Date/Time -
- Sample +
-
+ diff --git a/src/lib/components/questions/number/number_question_input_editor.svelte b/src/lib/components/questions/number/number_question_input_editor.svelte index 99fbf8d..10a3dfe 100644 --- a/src/lib/components/questions/number/number_question_input_editor.svelte +++ b/src/lib/components/questions/number/number_question_input_editor.svelte @@ -29,8 +29,9 @@ placeholder -
- Sample - -
+ +
+ +
+
diff --git a/src/lib/components/questions/select/select_question_input_editor.svelte b/src/lib/components/questions/select/select_question_input_editor.svelte index 924b4eb..3983583 100644 --- a/src/lib/components/questions/select/select_question_input_editor.svelte +++ b/src/lib/components/questions/select/select_question_input_editor.svelte @@ -36,8 +36,9 @@ deleteItem: DeleteItem }} /> -
- Sample - -
+ +
+ +
+
diff --git a/src/lib/components/questions/text/text_question_input_editor.svelte b/src/lib/components/questions/text/text_question_input_editor.svelte index da38b2c..6b374a3 100644 --- a/src/lib/components/questions/text/text_question_input_editor.svelte +++ b/src/lib/components/questions/text/text_question_input_editor.svelte @@ -43,10 +43,9 @@
Choices (COMMING SOON)
-
- Sample +
-
+ diff --git a/src/lib/components/questions/textarea/textarea_question_input_editor.svelte b/src/lib/components/questions/textarea/textarea_question_input_editor.svelte index cbbc718..48d5558 100644 --- a/src/lib/components/questions/textarea/textarea_question_input_editor.svelte +++ b/src/lib/components/questions/textarea/textarea_question_input_editor.svelte @@ -23,10 +23,9 @@ Placeholder -
- Sample +
-
+ diff --git a/src/lib/components/questions/time/time_question_input_editor.svelte b/src/lib/components/questions/time/time_question_input_editor.svelte index 4a2c1e9..336deca 100644 --- a/src/lib/components/questions/time/time_question_input_editor.svelte +++ b/src/lib/components/questions/time/time_question_input_editor.svelte @@ -20,10 +20,9 @@ Default Time -
- Sample +
-
+ diff --git a/src/lib/components/questions/timezone/timezone_question_input_editor.svelte b/src/lib/components/questions/timezone/timezone_question_input_editor.svelte index 2c542c3..c8c02f8 100644 --- a/src/lib/components/questions/timezone/timezone_question_input_editor.svelte +++ b/src/lib/components/questions/timezone/timezone_question_input_editor.svelte @@ -11,8 +11,7 @@ Defualt Timezone ID -
- Time + -
+