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

Fix: serializeHtml mutates the live editor instance #2797

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

12joan
Copy link
Collaborator

@12joan 12joan commented Dec 9, 2023

Description

Fixes #2796

See changesets.

@12joan 12joan requested a review from zbeyens December 9, 2023 11:14
Copy link

changeset-bot bot commented Dec 9, 2023

🦋 Changeset detected

Latest commit: 61c08d5

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-serializer-html Patch
@udecode/plate 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

Copy link

vercel bot commented Dec 9, 2023

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 Dec 9, 2023 11:22am

@reviewpad reviewpad bot added the small Pull request is small label Dec 9, 2023
@zbeyens zbeyens merged commit a19f76f into main Dec 9, 2023
7 checks passed
@zbeyens zbeyens deleted the fix/serialize-html-26-bug branch December 9, 2023 17:12
@zbeyens zbeyens mentioned this pull request Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
small Pull request is small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

serializeHtml causes editor.children to become []
2 participants