Skip to content
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 options title shows "undefined" instead of block type #5337

Closed
lmischner opened this issue Dec 20, 2022 · 1 comment · Fixed by WordPress/gutenberg#46699
Closed

Block options title shows "undefined" instead of block type #5337

lmischner opened this issue Dec 20, 2022 · 1 comment · Fixed by WordPress/gutenberg#46699
Labels
[Type] Bug Something isn't working

Comments

@lmischner
Copy link

Describe the bug
When I open the 3 dot menu for a block, the type of block no longer shows in the menu's title (where it used to say " block options" it now says "undefined block options"). If I opt to transform the block, it similarly shows "transform undefined to" instead of "transform paragraph to".

To Reproduce
Steps to reproduce the behavior:

  1. Access JP or WP in either iOS or Android
  2. In a post, tap the 3 dot menu on a block
  3. Note menu title does not indicate what type of block it is
  4. (You can also tap "Transform block" and see the menu title behavior there as well)

Expected behavior
I'm not sure when exactly it broke, but it shows the correct behavior in 21.2:
Screenshot_20221220-131945

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot_20221220-131737

Smartphone (please complete the following information):

  • Device: Pixel 7 and iPhone XS
  • OS: Android 13 and iOS 16.0
  • Version 21.4-rc-2
@lmischner lmischner added the [Type] Bug Something isn't working label Dec 20, 2022
@derekblank
Copy link
Contributor

Linking the Gutenberg companion issue for reference: WordPress/gutenberg#46673

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug Something isn't working
Projects
None yet
2 participants