[wp-trac] [WordPress Trac] #61074: Block Hooks: Enable for post content
WordPress Trac
noreply at wordpress.org
Wed Apr 24 16:26:58 UTC 2024
#61074: Block Hooks: Enable for post content
-----------------------------+----------------------------
Reporter: Bernhard Reiter | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+----------------------------
The Block Hooks mechanism is currently enabled for templates, template
parts, patterns, and Navigation menu -- i.e. parts of a site's layout that
are edited in the Site Editor. It is not enabled for post content: Hooked
blocks won't be inserted into a post (or page), even if the latter
contains the corresponding anchor block.
Prior to #59646, this was due to a technical limitation. However, with
that limitation removed, we could consider enabling Block Hooks for post
content.
This might have some benefits -- among other things, it might align better
with users' expectations. But maybe there are also reasons to refrain from
doing so?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61074>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list