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

Improve widgets documentation #33584

Open
noisysocks opened this issue Jul 21, 2021 · 2 comments
Open

Improve widgets documentation #33584

noisysocks opened this issue Jul 21, 2021 · 2 comments
Labels
[Feature] Widgets Screen The block-based screen that replaced widgets.php. [Type] Developer Documentation Documentation for developers

Comments

@noisysocks
Copy link
Member

From https://make.wordpress.org/core/2021/06/29/block-based-widgets-editor-in-wordpress-5-8/#comment-41552:

No documentation how to add icons, no documentation how to add styles and scripts to legacy widget. No documentation how to make blocks only for Widgets, Customizer or for Post editor.

Most of the APIs for this are the same as the regular block editor's, but let's explicitly document it.

@noisysocks noisysocks added [Type] Developer Documentation Documentation for developers [Feature] Widgets Screen The block-based screen that replaced widgets.php. labels Jul 21, 2021
@ryanwelcher
Copy link
Contributor

@sagarnasit is going to take this one!

@sagarnasit
Copy link

@ryanwelcher I have updated documentation about legacy widget style and script loading. But I am not able to confirm that blocks can be restricted for Widgets, Customizer, or Post Editor only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Widgets Screen The block-based screen that replaced widgets.php. [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

No branches or pull requests

3 participants