fix(front): bind additional attributes to Tiptap component in MarkdownInputField for improved functionality

This commit is contained in:
keven1024
2025-04-18 23:01:10 +08:00
parent f4990f05e0
commit 1d2c0e6621

View File

@@ -1,6 +1,6 @@
<template>
<Field :name="name" v-slot="{ field }">
<Tiptap :modelValue="field.value" @update:modelValue="field.onChange" />
<Tiptap :modelValue="field.value" @update:modelValue="field.onChange" v-bind="$attrs" />
</Field>
</template>