Skip to content

Rich Text Editor (Tiptap) adds empty paragraph to the end of the content #19577

Open
@dpedrovich

Description

@dpedrovich

Which Umbraco version are you using?

16.0.0

Bug summary

The new default Rich Text Editor (Tiptap) adds empty paragraph (<p></p>) to the end of the content if the content ends with elements that aren’t wrapped in a paragraph - for example a list or a blockquote.

Even if I remove it manually with the source code tool in the editor, it re-adds it.

Umbraco.RTE.bug.compressed.mp4

Specifics

No response

Steps to reproduce

Add a list or blockquote as content/markup on a document type that uses the Rich Text Editor (Tiptap) property editor. Save and publish and inspect the markup OR just preview the source code in Umbraco in the Rich Text Editor.

Now do the same but just add some text (paragraph) instead of a list or blockquote.

Expected result / actual result

An empty paragraph (<p></p>) will be added to the end of the content when using elements that aren’t wrapped in a paragraph (for example a list or a blockquote).


This item has been added to our backlog AB#53976

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions