Skip to content

Conversation

@AndreyMarchuk
Copy link
Contributor

Fix exception when Enter is pressed in link input.

Description

Fix issue when pressing Enter in link input on floating toolbar with latest plate/slate:
#2674

Steps to reproduce:

  • select text
  • click "link" on a floating toolbar
  • enter some url and click enter -> exception "Cannot resolve a DOM node from Slate node"

Fix #2674 when Enter is pressed on link floating toolbar
@changeset-bot
Copy link

changeset-bot bot commented Oct 17, 2023

🦋 Changeset detected

Latest commit: a290ecc

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-link Patch
@udecode/plate Patch
@udecode/plate-serializer-md 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 Oct 17, 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 Oct 17, 2023 8:10am

@reviewpad
Copy link
Contributor

reviewpad bot commented Oct 17, 2023

Thank you @AndreyMarchuk for this first contribution!

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.

2 participants