plate icon indicating copy to clipboard operation
plate copied to clipboard

Pasting does not work for inputs in editable voids

Open reinvanimschoot opened this issue 2 years ago • 0 comments

Description

Title says it all. Pasting does not work for inputs that are placed in editable voids (isVoid: true and isElement:true).

Steps

https://platejs.org/docs/examples/editable-voids/

Try pasting a URL in the Name input in the example. You will see it does not work.

Expectation

That we can paste in inputs when they are placed in editable voids.

Environment

  • slate: 18.3.1
  • slate-react: 0.88.2
  • browser: chrome & firefox

P-189

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

reinvanimschoot avatar Jan 26 '23 14:01 reinvanimschoot