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

Try dynamically moving panel to styles when there are no settings. #76

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ndiego
Copy link
Owner

@ndiego ndiego commented Jul 28, 2023

Fixes: #75

This currently is not working perfectly. Sometimes the Visibility panel is "counted" when checking for existing settings panels, and other times it's not.

When a block has no settings, the Visibility panel causes the Settings tab to appear. This is not ideal. The panel should behave like the Advanced panel. When there are no settings, the panel should be moved to the Styles tab.

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 this pull request may close these issues.

The visibility panel always "forces" all blocks to have the separate settings inspector tab
1 participant