diff --git a/vue3/src/components/inputs/StepEditor.vue b/vue3/src/components/inputs/StepEditor.vue
index 7fd62df30..555f71d04 100644
--- a/vue3/src/components/inputs/StepEditor.vue
+++ b/vue3/src/components/inputs/StepEditor.vue
@@ -67,13 +67,13 @@
-
+
-
+
diff --git a/vue3/src/components/inputs/StepMarkdownEditor.vue b/vue3/src/components/inputs/StepMarkdownEditor.vue
index f7fcd3f66..c0cf066e1 100644
--- a/vue3/src/components/inputs/StepMarkdownEditor.vue
+++ b/vue3/src/components/inputs/StepMarkdownEditor.vue
@@ -17,10 +17,10 @@
{{$t('Ingredients')}}
-
+
@@ -65,7 +65,7 @@ const templates = computed(() => {
function insertTextAtPosition(text: string){
let textarea = markdownEditor.value.getTextareaDom()
let position = textarea.selectionStart
- if (step.value.instruction){
+ if (step.value.instruction != undefined){
step.value.instruction = step.value.instruction.slice(0, position) + text + step.value.instruction.slice(position)
nextTick(() => {
diff --git a/vue3/src/pages/StartPage.vue b/vue3/src/pages/StartPage.vue
index 8935a5499..b06b7e99b 100644
--- a/vue3/src/pages/StartPage.vue
+++ b/vue3/src/pages/StartPage.vue
@@ -34,13 +34,13 @@
-
-
+
+
-
-
-
-
+
+
+
+
diff --git a/vue3/src/vuetify.ts b/vue3/src/vuetify.ts
index 67371ad95..55d21e570 100644
--- a/vue3/src/vuetify.ts
+++ b/vue3/src/vuetify.ts
@@ -23,7 +23,7 @@ export default createVuetify({
},
// always localize the date display of DateInputs
VDateInput: {
- displayFormat : (date: Date) => DateTime.fromJSDate(date).toLocaleString()
+ displayFormat: (date: Date) => DateTime.fromJSDate(date).toLocaleString()
},
// always use color for switches to properly see if enabled or not
VSwitch: {
@@ -34,6 +34,10 @@ export default createVuetify({
decimalSeparator: 0.1.toLocaleString().replace(/\d/g, '')
}
},
+ // locale: {
+ // locale: 'de',
+ // fallback: 'en',
+ // },
theme: {
defaultTheme: 'light',
themes: {