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

Set custom preview-options #21235

Open
Bowriverstudio opened this issue Mar 28, 2020 · 2 comments
Open

Set custom preview-options #21235

Bowriverstudio opened this issue Mar 28, 2020 · 2 comments
Labels
[Feature] Extensibility The ability to extend blocks or the editing experience [Type] Enhancement A suggestion for improvement.

Comments

@Bowriverstudio
Copy link

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

@talldan talldan added [Feature] Extensibility The ability to extend blocks or the editing experience [Type] Enhancement A suggestion for improvement. labels Apr 7, 2020
@talldan
Copy link
Contributor

talldan commented Apr 7, 2020

@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.

@skorasaurus
Copy link
Member

skorasaurus commented Nov 1, 2021

Might be possible to work more on this with #36119 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Extensibility The ability to extend blocks or the editing experience [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants