block-xray-attributes icon indicating copy to clipboard operation
block-xray-attributes copied to clipboard

Can we render details in "Block" settings?

Open salcode opened this issue 11 months ago • 0 comments

It would save a click to have the Block X-ray details rendered in the Block sidebar (rather than the Post/Page sidebar where it is currently rendered).

Image

In addition to my own experience, I've heard this feedback from others. e.g.

When I first installed the plugin, I expected the tab to be under the “Block” panel. Since the attributes are specific to the block, it made sense that it would be there. It is instead under the “Post” or “Page” panel, depending on what type of content you are editing.

from WP Tavern's Look Under the Hood With the Block X-Ray WordPress Plugin

Using the editor.BlockEdit filter and a Higher Order Component (HOC), we should be able to do this.

salcode avatar Feb 16 '25 14:02 salcode