mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 07:08:02 +00:00
fix(front): update MarkdownInputField to bind modelValue and handle updates for Tiptap component
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
<div class="flex flex-col gap-2">
|
||||
<Label v-if="props.label">{{ props.label }}</Label>
|
||||
<div class="border rounded-md">
|
||||
<Tiptap v-bind="field" />
|
||||
<Tiptap
|
||||
:modelValue="field.value"
|
||||
@update:modelValue="field.onChange"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</Field>
|
||||
|
||||
Reference in New Issue
Block a user