tiptap/.changeset/metal-shrimps-press.md
Nick Perez 07fa49d026
fix: preserve attributes of toggled node #3644 (#5489)
I only feel comfortable copying the attributes of the current node if the selection is only within a single node (I don't know what is expected if you had a selection of multiple nodes, the intersection of the attributes maybe?)

---------

Co-authored-by: Dominik Biedebach <dominik.biedebach@tiptap.dev>
2024-08-21 14:03:57 +02:00

134 B

@tiptap/core
patch

Copy over node attributes on node toggling (for example to keep text styles while toggling a headline)