-
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
Undo (keyboard shortcode) not working in meta box area #38731
Comments
Can confirm that Undo is inconsistent not only Advanced Custom Fields but in all the input/textarea fields in native Gutenberg Editor. |
@Thelmachido Did you even read the issue? OP is talking about undo inside the meta box area and not in the post content area. Try undoing inside Meta title, Meta description fields. |
@hj-collab thanks for the ping, I followed the reproduction steps and I missed a few things there. My apologies for the mixup, I will check the steps again. |
This issue was reviewed in today's Editor Bug Scrub and has been confirmed. |
@ndiego anyway I can help with fixing this issue? |
@ndiego could you please just add two exceptions for Undo key, so it won't trigger default Gutenberg Undo functionality for |
@ndiego |
I cannot say for sure, and anyone is welcome to submit a PR, but metaboxes cause a number of other issues in the Editor, and there is a concerted effort to encourage developers to use alternative options. I know I have for all my projects. Here are a few relevant links:
@ryanwelcher and I actually ran a Developer Hours session on this topic back in May. You can find the recording on WordPress.tv. |
@ndiego |
Description
This issue might be related to #18755. But the scope of #18755 is wide and covers other things. So I open this issue to be more specific.
When adding any text/textarea custom field to posts using a plugin like Meta Box, ACF (or any method that register meta box with
add_meta_box
function); or use a plugin that register a normal meta box like Slim SEO, we can't undo the changes inside input boxes provided by these plugins. Pressing Cmd/Ctrl + Z does nothing.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 5.9. Use default standard, not the Gutenberg plugin individually.
Tried with Slim SEO 3.13.1 and Meta Box 5.5.1.
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: