Skip to content

V15 RC: Tiptap should only target valid block elements#17712

Merged
nielslyngsoe merged 4 commits intorelease/15.1from
v15/chore/tiptap-block-specifier
Dec 5, 2024
Merged

V15 RC: Tiptap should only target valid block elements#17712
nielslyngsoe merged 4 commits intorelease/15.1from
v15/chore/tiptap-block-specifier

Conversation

@iOvergaard
Copy link
Contributor

Description

fix: make sure we only target valid blocks

This is to say we should remove any invalid block elements to clean up the DOM. A block element is considered invalid if it does not have the data-content-key attribute.

This is to say we should remove any invalid block elements to clean up the DOM. A block element is considered invalid if it does not have the `data-content-key` attribute.
this fixes a potential issue with link creations
Copy link
Member

@nielslyngsoe nielslyngsoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super duper

@nielslyngsoe nielslyngsoe merged commit 4c009ab into release/15.1 Dec 5, 2024
@nielslyngsoe nielslyngsoe deleted the v15/chore/tiptap-block-specifier branch December 5, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants