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

Customize buttons in the main menu #831

Open
shenenya opened this issue Oct 29, 2019 · 4 comments
Open

Customize buttons in the main menu #831

shenenya opened this issue Oct 29, 2019 · 4 comments

Comments

@shenenya
Copy link

Is it possible to extend the main menu bar as the context menu? Thanks.

@josdejong
Copy link
Owner

For the context menu you have the onCreateMenu callback to customize it. For the main menu there is no such feature. Sounds like a good idea, I will put this as a feature request ok?

@josdejong josdejong changed the title Is it possible to extend the main menu bar? Customize buttons in the main menu Oct 30, 2019
@shenenya
Copy link
Author

Great. Thanks.

@cherry-wave
Copy link

Is this still a thing 2 years later? I want my users to only have the button for "format json" and nothing else ;D

@josdejong
Copy link
Owner

There is still no customization option for the main menu, but you can hide the buttons you don't want using CSS: each button has a unique class name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants