Skip to content

RFE: Config option to control visibility of Account & Help Menus #373

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

Open
onetapbeyond opened this issue Apr 13, 2025 · 0 comments
Open

Comments

@onetapbeyond
Copy link

This is a feature request. Would it be possible to add support for some additional config.yml options that allow the Account Menu and the Help Menu to be entirely hidden. For example, extending the existing editor config options with:

editor:
    user_menu: false
    help_menu: false

To be clear I'm speaking about these two menus:

Image

In deployment scenarios where the end-users are non-Git users and even entirely non-technical users it would be nice to able to provide these users with content authoring features only. No settings. No concept of Git account user, links out to repos etc. Essentially, these settings would provide a way for these types of end users to work in a content authoring sandbox pre-configured by the site author only.

If disabling these menus by config requires overly complex mods within the Sveltia-CMS library an alternative approach might be to simply add a HTML element id attribute onto the top-level div for these menus that could then be targeted by a custom CSS rules to make the menus disappear from the UI. That might be a bit ugly but I'd take it if the first approach proves overly complex. Thanks, David.

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

No branches or pull requests

1 participant