Repository navigation
fix(editor): keep markdown lists and paragraphs stable across roundtrips - #3614
Merged
Merged
Conversation
JammingBen
force-pushed
the
fix/tiptap-md-issues
branch
from
October 8, 2026 11:09
f67f8c9 to
c3ac575
Compare
JammingBen
force-pushed
the
fix/tiptap-md-issues
branch
from
October 8, 2026 11:38
c3ac575 to
8fc226b
Compare
JammingBen
force-pushed
the
fix/tiptap-md-issues
branch
from
October 8, 2026 11:50
8fc226b to
9382f7d
Compare
JammingBen
changed the base branch from
fix/tiptap-md-task-lists
to
fix/tiptap-md-paragraphs
October 8, 2026 11:54
2 tasks done
JammingBen
force-pushed
the
fix/tiptap-md-issues
branch
from
October 8, 2026 12:14
9382f7d to
fa92675
Compare
JammingBen
force-pushed
the
fix/tiptap-md-issues
branch
from
October 8, 2026 12:43
fa92675 to
cdfe3eb
Compare
2 tasks done
JammingBen
marked this pull request as ready for review
October 8, 2026 14:20
AlexAndBear
approved these changes
Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Stacked on #3616 and #3618.
-,1.), which marked reads as paragraph text.1. [ ] task) as text.-,1.) where possible, " " only where a bare marker would not parse back as an empty item.Many of these workarounds can be removed once the referenced tiptap issues are fixed upstream (see linked issues in code).
Issue
fixes parts of #3583
Known limitations
Title+===/---underline) as the first block of a list item are kept as paragraph text, not as a heading. Before this change they produced an invalid document. ATX headings (# Title) stay headings.foo\n1.) starts a list, while CommonMark treats it as paragraph text.1) a+2. b) splits it into two lists, as in CommonMark. Both are saved with., so they merge back into one list on the next load (Text editor changes list structure of some markdown documents on save #3622).-below the first line of a list item (- Title+-) becomes an empty sub item instead of a setext heading underline. This keeps lists saved by earlier versions (- Parent+-) intact.1.), as in CommonMark. Content indented with 2 spaces, as saved by OpenCloud v7.x, is moved out of the list (Text editor changes list structure of some markdown documents on save #3622).