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

Option to hide PageType in NewPageDragArea #253

Open
maikschneider opened this issue Sep 26, 2024 · 1 comment
Open

Option to hide PageType in NewPageDragArea #253

maikschneider opened this issue Sep 26, 2024 · 1 comment

Comments

@maikschneider
Copy link

For reasons of constancy, I added a dedicated PageType for every kind page. However, I do not want to have every page as drag item in the toolbar menu of the page tree (e.g. Homepage).

It would be nice to have a configuration option in the EditorInterface.yaml to disable the hardcoded include in ServiceProvider.

@nhovratov
Copy link
Contributor

Hi, yes I encountered this myself when I also had a "Homepage" page type. I'm not sure whether this should be an option in the yaml file. If so, this should apply for all types, not only pages. My suggestion would be to hide it via user tsconfig. Unfortunately, I think this is not possible in v12. In v13 there is a new Event, so that you can override it with your global user.tsconfig file.

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

2 participants