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

Editor is uneditable when selecting a linked area and then pressing the link mark button #3603

Open
BasicallyPolaris opened this issue Oct 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@BasicallyPolaris
Copy link

BasicallyPolaris commented Oct 2, 2024

Description

If you currently create a link and then select the created link with your mouse, clicking on the link button again should result in the link menu for the area to appear OR should probably be selected if an area is selected that has a link and no link OR should allow for the linking with the selected text pasted into the link menu.

Currently however, this results in the editor "freezing" or rerendering (?), not exactly sure, the editor becomes uneditable for a short time, after several clicks you can then access the editor again.

PlateJS-Link-Error.mp4

Reproduction URL

No response

Reproduction steps

1. Go to https://platejs.org/
2. Create a text with a link
3. Select the created link area with your mouse
4. Click the Link Button
5. The editor will now freeze

Plate version

39.0.0

Slate React version

0.103.0

Screenshots

No response

Logs

No response

Browsers

Chrome

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar
@BasicallyPolaris BasicallyPolaris added the bug Something isn't working label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant