diff --git a/dashboard/src/components/EditableField.vue b/dashboard/src/components/EditableField.vue index 676d62021..00ee682b9 100644 --- a/dashboard/src/components/EditableField.vue +++ b/dashboard/src/components/EditableField.vue @@ -2,6 +2,7 @@ import { ref, watch, nextTick, useTemplateRef } from 'vue'; import { Button, FormGroup, TextInput } from '@cloudron/pankow'; +import { marked } from 'marked'; const props = defineProps({ label: { type: String, required: true }, @@ -10,6 +11,8 @@ const props = defineProps({ disabled: { type: Boolean, default: false }, saving: { type: Boolean, default: false }, multiline: { type: Boolean, default: false }, + markdown: { type: Boolean, default: false }, + rows: { type: Number, default: 2 }, }); const emit = defineEmits(['save']); @@ -52,12 +55,13 @@ function cancel() {