-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Block] Template PartAffects the Template Parts BlockAffects the Template Parts Block[Feature] InserterThe main way to insert blocks using the + button in the editing interfaceThe main way to insert blocks using the + button in the editing interface[Priority] HighUsed to indicate top priority items that need quick attentionUsed to indicate top priority items that need quick attention[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
As of 10.4-RC1, Template Part blocks can be added to the Post Editor in the same way reusable blocks can be added. However, template parts can only be created from the Site Editor.
This issue is related to #30669, which presents the opposite logic for reusable blocks. Original discussion in #30308
Step-by-step reproduction instructions
- Go to 'Site Editor'
- Select any block and click on "Make template part"
- Go to the Post Editor.
- Open the inserter and look for the recently created template part.
Expected behaviour
Template parts should only be available to insert in template editors.
Actual behaviour
Template parts can be inserted in posts or pages.
WordPress information
- WordPress version: 5.7
- Gutenberg version: 10.4-RC1
- Are all plugins except Gutenberg deactivated? Yes
- Theme used? TT1 Blocks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Block] Template PartAffects the Template Parts BlockAffects the Template Parts Block[Feature] InserterThe main way to insert blocks using the + button in the editing interfaceThe main way to insert blocks using the + button in the editing interface[Priority] HighUsed to indicate top priority items that need quick attentionUsed to indicate top priority items that need quick attention[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended