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

Implement x-cms-hidden, hiding a field annotated with it for the editor #27

Open
julrich opened this issue Oct 25, 2024 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@julrich
Copy link
Member

julrich commented Oct 25, 2024

This will be a bit more involved, because some implementing headless CMS (like Storyblok) don't seem to support hiding a field in the editor UI. In those cases, we would need to remove all fields annotated with x-cms-hidden from the configuration for that CMS, and generate lenses re-adding defaults for those dropped fields on the way back.

Storyblok field config, missing hidden option: https://www.storyblok.com/docs/schema-configuration
Netlify Create hidden option: https://visual-editor-reference.netlify.com/config/content-modeling/fields#hidden

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

No branches or pull requests

1 participant