Enable the Code editor within the Widget Customizer/Screen #33518
Labels
[Feature] Widgets Customizer
Ability to add and edit blocks in Customize → Widgets.
[Feature] Widgets Screen
The block-based screen that replaced widgets.php.
[Type] Enhancement
A suggestion for improvement.
To create a consistent editing experience with the rest of the block editor, the widget editor/customizer should also have the code editor.
I occasionally will copy content from one page to another by going into the code editor (on a particular page); copying the relevant markup/html and then copying it into a new page or area of my site.
(I hope to do less of this as templates and patterns becoming easier to make; but neither are enabled to be inserted into widget customizer screen yet ; ref #26170).
I did this workflow again because I wanted to reproduce one of our reusable blocks in the block-based widgets but that's since that's not currently possible (ref #32952) and didn't want to go through the motions of recreating the block(s) and setting their options.
Step-by-step reproduction instructions
Expected behaviour
have the code editor option available when a widget area was selected
Actual behaviour
WordPress information
The text was updated successfully, but these errors were encountered: