Skip to content

MarkdownPlugin: serialize \n within a text child of a paragraph as line break#4835

Open
dschoorl wants to merge 2 commits intoudecode:mainfrom
dschoorl:fix-markdown-linebreak-serialization
Open

MarkdownPlugin: serialize \n within a text child of a paragraph as line break#4835
dschoorl wants to merge 2 commits intoudecode:mainfrom
dschoorl:fix-markdown-linebreak-serialization

Conversation

@dschoorl
Copy link

@dschoorl dschoorl commented Feb 6, 2026

See #4834 for background

Checklist

  • yarn typecheck
  • yarn lint:fix
  • yarn test
  • yarn brl
  • yarn changeset
  • ui changelog

@codesandbox
Copy link

codesandbox bot commented Feb 6, 2026

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@changeset-bot
Copy link

changeset-bot bot commented Feb 6, 2026

🦋 Changeset detected

Latest commit: 7329313

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@platejs/markdown Patch
@platejs/ai Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Feb 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
plate Ignored Ignored Feb 6, 2026 8:13pm

Request Review

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. plugin:markdown Markdown deserializer labels Feb 6, 2026
@zbeyens
Copy link
Member

zbeyens commented Feb 6, 2026

Thanks for the PR. Looks like test is failing.

@dschoorl dschoorl force-pushed the fix-markdown-linebreak-serialization branch from ab23a04 to bce26b0 Compare February 6, 2026 19:57
@dschoorl
Copy link
Author

dschoorl commented Feb 6, 2026

Thanks for the PR. Looks like test is failing.

Yes, I noticed. Those tests pass on my local machine. I am looking into it.

…ages/code-drawing:

This fixes the message when running 'yarn test': Internal Error:
@platejs/code-drawing@workspace:packages/code-drawing: This package doesn't seem
to be present in your lockfile; run "yarn install" to update the lockfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin:markdown Markdown deserializer size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants