udecode / plate

A rich-text editor powered by AI
https://platejs.org
Other
12.08k stars 737 forks source link

Issues with Link Floating Input Submit #2698

Closed woodpeng closed 1 month ago

woodpeng commented 1 year ago

Description

  1. In the absence of a URL change or some unknown reasons, submitting using the Enter key does not work, not responding.
  2. Using the Enter key for submission results in unintended line breaks within the editor content.

Screen from https://platejs.org/docs/link https://github.com/udecode/plate/assets/9260378/a0153415-6a9d-48a2-9a63-5858d66b9d2a

Funding

Fund with Polar

AndreyMarchuk commented 1 year ago
  1. There was an exception with Enter and editor focus which is fixed in the last version.
  2. Enter will have no effect if URL is invalid. Once you type the valid url (i.e. https://domain.com) it works.
felixfeng33 commented 6 months ago

Is it the same as this #2526?