iliyaZelenko / tiptap-vuetify

Vuetify editor. Component simplifies integration tiptap editor with vuetify.
https://iliyazelenko.github.io/tiptap-vuetify-demo/
806 stars 126 forks source link

Embeds? #235

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi,

Do you plan on adding the original tiptap's embed property to allow embedding youtube videos etc.?

kangchals commented 3 years ago

I found some resource but I tried to add custom Node, I failed...

https://tiptap.dev/embeds

gileneusz commented 1 year ago

@kangchals I'm quite late on the party, but did you succeed later on? 😅

anyway... it's a little pity that this repo is dead, @iliyaZelenko you did amazing job, this is still the best solution for vuetify!

riyaz7us commented 1 year ago

Temporary workaround (not convenient for some users):

  1. Create another input field for video embed and save embed code as different column

<v-textarea outlined class="my-2" v-model="video" label="Video Embed" rows="2"></v-textarea>

  1. Instruct the user to place shortcode like [video] or [embed] wherever they want to embed video:

  2. Replace tag with embedded code:

this.body = this.body.replace("[video]", this.video)