tiptap-vuetify icon indicating copy to clipboard operation
tiptap-vuetify copied to clipboard

Embeds?

Open ghost opened this issue 4 years ago • 3 comments

Hi,

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

ghost avatar Oct 24 '20 05:10 ghost

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

https://tiptap.dev/embeds

kangchals avatar Nov 19 '20 02:11 kangchals

@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!

gileneusz avatar Mar 05 '23 13:03 gileneusz

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)

riyaz7us avatar May 24 '23 21:05 riyaz7us