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
{{ message }}
Repository navigation
Pasting with keyboard shortcut deletes all the content of the classic block #64771
Since WP 6.6.1, when I paste a text using the keyboard shortcut COMMAND + v on Mac in the post content that uses a classic block, it deletes the whole content.
Thanks for the report. I was able to reproduce the issue. And this problem certainly seems to have first appeared in WP6.6.
There are two conditions to reproduce this issue:
The editor is not an iframe, i.e. custom fields are enabled, etc. If the editor is not an iframe, the Classic Block is modal and this issue cannot be reproduced.
WordPress 6.7 has been released. And this issue is still not fixed.
This is very annoying to not be able to use the CTRL+v shortcut during the post edition.
WordPress 6.7 has been released. And this issue is still not fixed. This is very annoying to not be able to use the CTRL+v shortcut during the post edition.
Does anyone know when this will be fixed?
The same problems happens on me. How to fix it? It's really annoying. when I want to past some product parameters in table with classic block.
Do you know anything about this issue? Here are steps and a video to reproduce the issue:
To make the editor work as a non-iframe editor:
Activate CoBlocks, which contains version v2 of the blocks.
Insert a Classic block into the post editor and enter some content.
Copy some text from outside WordPress.
Paste the text inside the Classic block.
All content inside the Classic block will disappear.
f9c60f7ebc2f2bdc47424f3f541bba27.mp4
The Problem is mainly caused by block editor bugs. The latest wordpress seems not have this problem. but if the latest version is upgraded from older version. the problem stays. Actually, I have a solution to it. but I can not upload my files here. The only way is that I can tell you the key matter is in ./wp-includes/js/dist/block-editor.js
you can comment out the code part as below:
@lgseo Great. Your workaround solution works great. Thank you
I hope there will be a definitive fix in the next version. I have raised this annoying bug more than 3 months ago and nothing was done.
@lgseo Great. Your workaround solution works great. Thank you I hope there will be a definitive fix in the next version. I have raised this annoying bug more than 3 months ago and nothing was done.
Nobody help us, so just save by myself.It makes me crazy. thanks to my poor coding ability
Activity
t-hamano commentedon Aug 24, 2024
Thanks for the report. I was able to reproduce the issue. And this problem certainly seems to have first appeared in WP6.6.
There are two conditions to reproduce this issue:
t-hamano commentedon Aug 26, 2024
I have determined that this issue was caused by #54543.
Kerfred commentedon Nov 13, 2024
WordPress 6.7 has been released. And this issue is still not fixed.
This is very annoying to not be able to use the CTRL+v shortcut during the post edition.
Does anyone know when this will be fixed?
lgseo commentedon Dec 6, 2024
The same problems happens on me. How to fix it? It's really annoying. when I want to past some product parameters in table with classic block.
lgseo commentedon Dec 9, 2024
Could you tell me how to fix it?? It seems a big confusion for me. I can not paste any content from outsite wordpress into classic block.
t-hamano commentedon Dec 10, 2024
@ellatrix
Do you know anything about this issue? Here are steps and a video to reproduce the issue:
f9c60f7ebc2f2bdc47424f3f541bba27.mp4
lgseo commentedon Dec 11, 2024
The Problem is mainly caused by block editor bugs. The latest wordpress seems not have this problem. but if the latest version is upgraded from older version. the problem stays. Actually, I have a solution to it. but I can not upload my files here. The only way is that I can tell you the key matter is in
./wp-includes/js/dist/block-editor.jsyou can comment out the code part as below:
then minify the the file to block-editor.min.js
That is all my solution to the problem. hope it helps.
Kerfred commentedon Dec 11, 2024
@lgseo Great. Your workaround solution works great. Thank you
I hope there will be a definitive fix in the next version. I have raised this annoying bug more than 3 months ago and nothing was done.
lgseo commentedon Dec 11, 2024
Nobody help us, so just save by myself.It makes me crazy. thanks to my poor coding ability
Kerfred commentedon Feb 11, 2025
This bug still happens in WordPress 6.7.2.
It is very annoying that we have to reapply the workaround each time WordPress releases a new version.
Does anyone take this bug into account???