Content panel shouldn't surface blocks inside the 'Content' block #63613
Labels
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
[Type] Enhancement
A suggestion for improvement.
When editing a page, the Content panel surfaces the sections of the document that can be directly manipulated. My understanding is that it does this by looping through the document looking for instances of specific blocks; Title, Featured Image, and Content. When found they are listed in the panel for easy selection:
However, if the Content block also contains instances of these blocks – for instance if there's a custom query in the page content – then those blocks are repeated:
For a number of reasons this makes for a strange UX:
Solution
It would seem sensible to omit these blocks in the Content panel when they are nested within the Content block.
cc @noisysocks as (iirc) you worked on this feature.
The text was updated successfully, but these errors were encountered: