18.4: Pasting code into the HTML block replaces the code with other blocks #61923
Labels
[Block] HTML
Affects the the HTML Block
[Type] Bug
An existing feature does not function as intended
Description
In Gutenberg 18.4, when you paste code into the HTML block, the HTML block is removed and the content is replaced with other blocks, for example paragraphs or images (depending on the code pasted).
(Typing code still works.)
Reported on trac:
https://core.trac.wordpress.org/ticket/61285
Reported on the plugin support forums:
https://wordpress.org/support/topic/18-4-0-stops-you-pasting-text-into-html-block/
Step-by-step reproduction instructions
Copy some HTML source code.
For example
Create a new post or page.
Insert a HTML block.
Paste the HTML code you copied into the HTML block.
Result:
Screenshots, screen recording, code snippet
No response
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: