0

I've noticed that you cant use the name tag on TipTap which means you cant use it to send data through forms in laravel. Is it possible to do something like this?

<tiptap-vuetify
      v-model="content"
      :extensions="extensions"
      :toolbar-attributes="{ color: '#bf1256' }"
      :name="module.name"
      :id="module.id"
    />
2
  • Perhaps you can add an hidden input with the content ? Commented Sep 15, 2020 at 10:31
  • <input type="hidden" :name="module.name" :value="content"> Something like this?
    – steve112
    Commented Sep 15, 2020 at 10:35

1 Answer 1

0

<tiptap-vuetify
      v-model="module.markdownContent"
      :extensions="extensions"
      :id="module.id"
      :toolbar-attributes="{ color: '#bf1256' }"
    />
<input type="hidden" :name="module.name" :value="module.markdownContent">

This fixed it

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.