-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Blocks settings unavailable within the Unsupported Block Editor #48298
Comments
This is a tricky one because it looks like the "Show more options" that was supposed to show as the first item after tapping the three-dots button is no longer there: The option to open the block options is now in the header navigation which we don't display within the UBE: Tapping that button opens a sidebar: I'm now sure how to workaround that 🤔 |
My initial reaction without looking at the code is that we would need to use JavaScript to manually construct and inject a "Show more settings" button where we need it inside of |
From my research, it appears the "Show more settings" button was removed in #46709. |
I am wondering if merely displaying the edit post header is the simplest and most stable approach to resolving this. I.e. remove the following lines that currently hide the edit post header. gutenberg/packages/react-native-bridge/common/gutenberg-web-single-block/editor-style-overrides.css Lines 20 to 45 in 2f294e1
Yes, it occupies more vertical space — possibly an annoying amount of space on small displays — but it would further align the UBE with the default web editor and likely make the UBE less brittle. We would likely need to hide individual menu items, e.g. navigating away from the post editor. |
I think we should explore that and like you said just hide the options we don't need there, it is true about the vertical space but nowadays mobile phones are quite big so it might not be an issue, especially if you're just editing one block. |
That looks like the best approach 👍 |
Description
When editing a block with the mobile app's Unsupported Block Editor (UBE), the "Show more settings" option is not available.
The source of this issue is likely similar to #33592 and related to the inherent brittleness of the foundational implementation referenced in #21874. There may have been a change the web editor's DOM hierarchy/class names or a browser-specific issue introduced.
Step-by-step reproduction instructions
Expected behaviour
The "Show more settings" option is available.
Actual behaviour
The "Copy block" option is available.
Screenshots or screen recording (optional)
Screenshot
WordPress information
Device information
The text was updated successfully, but these errors were encountered: