-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Block Editor: Unable to paste text into text field inside block #61377
Comments
I'm adding this to the project board because I think this issue has a very large impact and should be fixed in WP6.6. |
After going back through the commits, it appears that this issue occurred in #54543. |
Right. As also reported on #61566 this appears to be a regression. |
The issue is still present on the Shortcode Block as of 18.4: CleanShot.2024-05-24.at.11.47.46.mp4 |
There's a PR #61389 waiting for approval |
@ellatrix reopening because I'm still getting a similar behavior when pasting content into the Classic Block when running 18.4.1 and I'm not sure if that's intentional: CleanShot.2024-05-28.at.12.08.03.mp4Steps to reproduce
|
I tried testing with Playground and the latest Gutenberg, but I couldn't reproduce this problem. From looking at your video, the Classic block is not opened as a dialog, so I would expect the editor to not be an iframe, which means custom fields are enabled. I tested it in the same environment and it doesn't convert to other blocks 🤔 6786e2164ed12fca03085fa7268613b4.mp4 |
Description
Some blocks have text fields. For example, Embed block, Shortcode block, etc. Pasting text into the text field of these blocks deletes the blocks and creates a Paragraph block in their place.
I think this can happen with any block that has a text field, not just the core block.
This problem does not seem to occur in WP6.5.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Expected Behaviour (WP6.5)
38ab23ad65493e18ff868e7cc8b8d4b6.mp4
Actual Behaviour (Latest Gutenberg)
9a623c0c7847409376493b9ac2785651.mp4
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: