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

Edit Widget: Add Basic plugin support #47029

Open
t-hamano opened this issue Jan 10, 2023 Discussed in #41034 · 1 comment
Open

Edit Widget: Add Basic plugin support #47029

t-hamano opened this issue Jan 10, 2023 Discussed in #41034 · 1 comment
Labels
[Package] Edit Widgets /packages/edit-widgets [Type] Enhancement A suggestion for improvement.

Comments

@t-hamano
Copy link
Contributor

t-hamano commented Jan 10, 2023

Discussed in #41034

Related: #34460

We suggest adding basic plugin support to the widget editor as well, to make it more consistent with the post editor and the site editor. Please advise us of any issues that need to be resolved to make this happen.


Originally posted by davidwebca May 13, 2022
Hi everyone,

I have a small plugin that allows to edit the width of the sidebar in the block editor (https://github.com/davidwebca/wordpress-menu-classes). I currently prevent the enqueueing of the JS code in the new block editor in widgets because it used to crash. Now I realize it doesn't crash, but it doesn't work either. Am I missing something? The 5.8 announcement clearly states that "The Widgets screen is extendable via block editor APIs such as registerPlugin [...]" but it doesn't seem to be the case at all.

Maybe I'm doing something wrong, maybe I'm importing the JS modules from the wrong source, etc. but I can't seem to find any documentation on this specific issue. Any help would be welcome!

Thanks a lot ✌️

@t-hamano t-hamano added [Type] Enhancement A suggestion for improvement. [Package] Edit Widgets /packages/edit-widgets labels Jan 10, 2023
@rmorse
Copy link
Contributor

rmorse commented Jan 30, 2023

Seconding this, I would like to see consistency across the site editor, post editor, and (classic) widget editor - currently the widget editor is the only one where this is not possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Edit Widgets /packages/edit-widgets [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants