-
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
Set custom preview-options #21235
Comments
@Bowriverstudio I think this was discussed on the original pull request - #19082 I looks like an issue was never created, so this can become that issue. Another use case I remember mentioned for being able to filter those menu options was adding preview options when using WordPress as the backend for a static site (like Gatsby), where the URL for the site would typically be different to the one WordPress expects. |
Might be possible to work more on this with #36119 ? |
Closing this out as it overlaps with this recently merged PR that introduces the ability to extend this preview panel: #64644 (comment)
This is expected to land in the WordPress 6.7 release so stay tuned. There's more work to do as well and that's being tracked here: #65005 |
Is your feature request related to a problem? Please describe.
I'm sure this is part of a roadmap I use bootstrap which has different breakpoints than wordpress.
Describe the solution you'd like
I like away to modify the gutenberg/packages/edit-post/src/components/preview-options/index.js and add/modify MenuItem.
Instead of Desktop / Tablet / Mobile -> I'd like to use bootstraps
Extra large devices / Large devices / Medium devices / small devices: https://getbootstrap.com/docs/4.4/layout/overview/#responsive-breakpoints
The text was updated successfully, but these errors were encountered: