-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Feature] Block LockingThe API allowing for the ability to lock/unlock blocksThe API allowing for the ability to lock/unlock blocks[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.Questions or issues with incorporating or styling blocks in a theme.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Description
Improve WordPress Editor APIs to allow deeper and systematic control of the block editor’s UI/UX from theme.json and Custom Post Type (CPT) registration—making site-level (theme.json) and granular (CPT-level, pattern level) editor locking first-class, predictable, and testable.
-
The first step required to do this is to unify all the block UI controls under the same paradigm. This has been achieved in Standardize Block Inspector Settings to use ToolsPanel - Tracking Issue #67813 as now all the block inspector settings rely on
ToolsPanel
-
The second step here is going to be to audit all theme.json settings and block tools panels and add missing settings to all the block tools panels:
- Enable or disable all inspector controls and toolbar options per block directly via theme.json.
- Ensure all core blocks adhere strictly to these theme.json restrictions.
- The last step is to ensure this mechanism can be used both at the global level and at a granular level:
- Theme.json is the global level
- We might want CPT registration specific APIs to be able to control these at the CPT level
- Ensure also the "settings" block support allows us to define these restrictions at the "pattern" level.
justintadlockannezazufabiankaegy, yashjawale and Mayank-Tripathi32
Metadata
Metadata
Assignees
Labels
[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Feature] Block LockingThe API allowing for the ability to lock/unlock blocksThe API allowing for the ability to lock/unlock blocks[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.Questions or issues with incorporating or styling blocks in a theme.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.