Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes nodes option in serialize function #4156

Merged
merged 10 commits into from
Mar 12, 2025

Conversation

martin-lysk
Copy link
Contributor

@martin-lysk martin-lysk commented Mar 11, 2025

Checklist

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

The Docs state that the node parameter in the options allow to pass a the nodes one wants to serialize. This property got passed as the nodes options paramter - whicht allows to configure the serialization - instead.

This pr introduces the missing node parameter to use the serializer for nodes other than the children of the editor - for example in a copy selection plugin.

Copy link

codesandbox bot commented Mar 11, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

vercel bot commented Mar 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plate ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 12, 2025 2:17pm

Copy link

changeset-bot bot commented Mar 11, 2025

🦋 Changeset detected

Latest commit: 0fa5b2c

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

This PR includes changesets to release 2 packages
Name Type
@udecode/plate-markdown Patch
@udecode/plate-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

…tions to avoid breaking changes. updates docs
@zbeyens
Copy link
Member

zbeyens commented Mar 12, 2025

I can merge this once the CI is passing

@zbeyens zbeyens merged commit 91049eb into udecode:main Mar 12, 2025
3 of 4 checks passed
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.

2 participants