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

Adding examples of how to programmatically remove the panels in Document sidebar. #48895

Merged
merged 2 commits into from
Mar 8, 2023

Conversation

ryanwelcher
Copy link
Contributor

What?

Adds some examples on how to remove panels in the Document sidebar programmatically. It also updates the code examples to use ES Module imports instead of accessing the wp global directly

Closes: #17281.

…se ES modules instead of accesing the wp global.
@ryanwelcher ryanwelcher requested a review from gziolo March 7, 2023 15:51
@ryanwelcher ryanwelcher added [Type] Developer Documentation Documentation for developers Developer Experience Ideas about improving block and theme developer experience labels Mar 7, 2023
@ryanwelcher ryanwelcher self-assigned this Mar 7, 2023
@github-actions
Copy link

github-actions bot commented Mar 7, 2023

Flaky tests detected in 63273e1.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4358391620
📝 Reported issues:

@ryanwelcher ryanwelcher merged commit da56e3e into trunk Mar 8, 2023
@ryanwelcher ryanwelcher deleted the feature/add-examples-for-removing-panels branch March 8, 2023 01:23
@github-actions github-actions bot added this to the Gutenberg 15.4 milestone Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Developer Experience Ideas about improving block and theme developer experience [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation: Add examples of how to programmatically remove the panels in Document sidebar
2 participants