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 pressing Arrow Up #3066

Merged
merged 2 commits into from
Mar 26, 2024
Merged

fix pressing Arrow Up #3066

merged 2 commits into from
Mar 26, 2024

Conversation

felixfeng33
Copy link
Collaborator

fix pressing Arrow Up

Copy link

changeset-bot bot commented Mar 26, 2024

🦋 Changeset detected

Latest commit: 82c3217

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

This PR includes changesets to release 3 packages
Name Type
@udecode/plate-indent-list Patch
@udecode/plate Patch
@udecode/plate-serializer-docx 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 Mar 26, 2024

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 26, 2024 6:06am

@zbeyens zbeyens merged commit 5535716 into main Mar 26, 2024
6 checks passed
@zbeyens zbeyens deleted the fix/todo branch March 26, 2024 06:18
}}
/>
)}
<div contentEditable={false} data-slate-void>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding data-slate-void tells Slate that the DIV represents a void element, which is untrue here. The DIV itself is no Slate element, and the enclosing Slate element is not a void. Does removing the data-slate-void change the behaviour at all?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ianstormtaylor/slate#5435 .
I remember that I will occur the above error in my applacation. Add this to fix it find in the comment.but now I remove it in Plate,There doesn't seem to be a problem

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.

3 participants