Skip to content

Add templateLock attribute to core/cover. #30296

@Locheed

Description

@Locheed

What problem does this address?

core/column and core/group did get the templateLock attribute. However, it would be good to have this option with other blocks too. e.g. core/cover. This block is awesome but cannot be really used on the client's site because it cannot be locked.

This however does work as a top-level block with inheriting templateLock from InnerBlocks. But now there does not have inheritance any more with core/columns > core/column > core/cover.

#26128

What is your proposed solution?

Add possibility to use the templateLock attribute directly with core/cover.

Metadata

Metadata

Assignees

Labels

[Block] CoverAffects the Cover Block - used to display content laid over a background image[Status] In ProgressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions