You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like #5121 broke the ability to copy text from within an <input type="text"/> within a void element (looks like #5294 might also be related). Someone in that latter issue commented:
I know why cannot copy content in input box. Because it's a void element. This is the default rule of slate.
Description
Cannot copy text out of an input inside a void.
It looks like #5121 broke the ability to copy text from within an
<input type="text"/>
within a void element (looks like #5294 might also be related). Someone in that latter issue commented:Is there any workaround?
Recording
This is on the live example at https://www.slatejs.org/examples/editable-voids:
Screen.Recording.2023-03-16.at.10.11.15.AM.mov
Sandbox
The editable-voids example on the site has this issue: https://www.slatejs.org/examples/editable-voids
Steps
To reproduce the behavior:
Expectation
If I copy the text (as in step 3) and paste it anywhere, it should paste properly as plaintext.
Environment
Context
It seems like a choice was made in #5121 that broke this to fix a more common use-case. May also be related to #5294?
The text was updated successfully, but these errors were encountered: