plate icon indicating copy to clipboard operation
plate copied to clipboard

Issues with Link Floating Input Submit

Open woodpeng opened this issue 1 year ago • 2 comments

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

  • 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

woodpeng avatar Oct 11 '23 08:10 woodpeng

  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.

AndreyMarchuk avatar Oct 18 '23 01:10 AndreyMarchuk

Is it the same as this #2526?

felixfeng33 avatar May 01 '24 03:05 felixfeng33