Skip to content

Embedding YouTube in Tiptap adds extra spacing #19521

@Jondahln

Description

@Jondahln

Which Umbraco version are you using?

15.4.1

Bug summary

Embedding YouTube links in Tiptap you will automatically add spacing above and below the element when you update and save the block.

Specifics

When you embed a YouTube link in Tiptap you will automatically get spacing above and below the element. The issue is that every time you update the block it will automatically add extra spacing each time. It seems like it adds an extra paragraph since the spacing will render on the site if you save the block.

Image

Steps to reproduce

  1. Create a block that has a Tiptap rich text editor
  2. Write two paragraphs
  3. Embed a YouTube video between the paragraphs
  4. Press save / update
  5. Open up the same block again
  6. Now there should be extra spacing added

This issue was reproducible in Chrome Version 137

Expected result / actual result

Saving or updating a embedded Youtube link should not add extra spacing in the Tiptap rich text editor


This item has been added to our backlog AB#53783

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions