Moved html editor to ingredients, added additional styling options and added md file for bartender settings und queries.

This commit is contained in:
2026-02-03 21:45:05 +01:00
parent 64422fc68e
commit cb7e7210de
4 changed files with 48 additions and 22 deletions
+21 -20
View File
@@ -177,14 +177,23 @@
/>
</v-row>
<v-row no-gutters>
<VuetifyTiptap
v-model="store.articleEdit.description"
<v-textarea
v-model.trim="store.articleEdit.description"
:tile=true
label="Beschreibung"
rounded
:max-height="200"
:disabled="!edit"
/>
counter
:persistentCounter=true
rows="6"
no-resize
:readonly="!edit"
persistent-placeholder
>
<template v-slot:counter="{ counter }">
<span>{{ counter }} von {{ store.ingredientsMaxChars }} Zeichen.</span>
</template>
</v-textarea>
</v-row>
</v-col>
<v-col cols="5" style="padding: 5px;">
@@ -199,21 +208,13 @@
/>
</v-row>
<v-row no-gutters>
<v-textarea
v-model.trim="store.articleEdit.ingredients"
:tile=true
<VuetifyTiptap
v-model="store.articleEdit.ingredients"
label="Zutaten"
counter
:persistentCounter=true
rows="6"
no-resize
:readonly="!edit"
persistent-placeholder
>
<template v-slot:counter="{ counter }">
<span>{{ counter }} von {{ store.ingredientsMaxChars }} Zeichen.</span>
</template>
</v-textarea>
rounded
:max-height="200"
:disabled="!edit"
/>
</v-row>
</v-col>
</v-row>
+3 -1
View File
@@ -13,7 +13,7 @@ import {
Table,
TextAlign,
VuetifyTiptap,
createVuetifyProTipTap,
createVuetifyProTipTap, FontSize, FontFamily,
} from 'vuetify-pro-tiptap'
import 'vuetify/styles'
@@ -35,6 +35,8 @@ const vuetifyProTipTap = createVuetifyProTipTap({
Bold,
Heading,
TextAlign,
FontSize,
FontFamily,
Clear.configure({ divider: true }),
Indent.configure({ divider: true }),
Table.configure({ divider: true }),