Skip to content

Reuse tiptap ordered list type - #103

Merged
matthiask merged 3 commits into
mainfrom
reuse-tiptap-ordered-list-type
Aug 24, 2026
Merged

Reuse tiptap ordered list type#103
matthiask merged 3 commits into
mainfrom
reuse-tiptap-ordered-list-type

Conversation

@matthiask

Copy link
Copy Markdown
Member

No description provided.

Our data-type attribute stays the authoritative, serialized encoding
(it also covers custom keywords like "disc" that have no HTML type
attribute equivalent, used by downstream CSS). But when it's absent,
fall back to Tiptap 3.27+'s own type.parseHTML instead of
reimplementing detection ourselves: it already handles the HTML type
attribute as well as list-style-type CSS on the <ol> and its first
<li> (the pattern Word/Google Docs pastes use).
@matthiask
matthiask merged commit 178d2a7 into main Aug 24, 2026
5 checks passed
@matthiask
matthiask deleted the reuse-tiptap-ordered-list-type branch August 24, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant