Repository navigation
fix(markdown): preserve links, trailing breaks and table images - #5151
Closed
felixfeng33 wants to merge 1 commit into
Closed
felixfeng33 wants to merge 1 commit into
felixfeng33 wants to merge 1 commit into
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
| Name | Type |
|---|---|
| platejs | Major |
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
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.
Plan: Markdown regression fixes
Why
Markdown export can fail for bare URLs in headings and sized images in table cells, or lose trailing breaks in paragraphs and list items. Fix the shared conversion rules so these documents survive export and import.
Scope
Tradeoffs
Keep line-break handling in the paragraph encoder and tag handling in the existing converter. Avoid image-specific serialization and exported-string post-processing.
Blast Radius
The shared Markdown converter is affected. No public API or editor schema changes. Tags with child content are outside the new table behavior.
Verification
next.Full repository checks, production builds and the browser engine matrix were not run. Browser replay predates the final classifier and CRLF cleanup.