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

Support for IsVisible #4

Closed
AaronSadlerUK opened this issue Feb 3, 2023 · 1 comment · Fixed by #6
Closed

Support for IsVisible #4

AaronSadlerUK opened this issue Feb 3, 2023 · 1 comment · Fixed by #6

Comments

@AaronSadlerUK
Copy link
Contributor

I'm using the plugin from Nathan called Nesting Contently:
https://github.com/nathanwoulfe/NestingContently

This makes the blocks get hidden with IsVisible, is there a way to hook in and see when the request is coming from the backoffice?

At the moment the block gets removed from the backoffice entirely

@AaronSadlerUK
Copy link
Contributor Author

Just a thought on a way to do this...

Setting UmbracoContext.InPreviewMode to true would allow for a way to distinguish these requests

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

Successfully merging a pull request may close this issue.

1 participant