Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move display to "Block" panel? #16

Closed
salcode opened this issue Feb 2, 2022 · 1 comment
Closed

Move display to "Block" panel? #16

salcode opened this issue Feb 2, 2022 · 1 comment
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@salcode
Copy link
Owner

salcode commented Feb 2, 2022

Based on this feedback, perhaps we should move the location of the output?

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 WPTavern's Look Under the Hood With the Block X-Ray WordPress Plugin

@salcode salcode added the enhancement New feature or request label Feb 2, 2022
@salcode
Copy link
Owner Author

salcode commented Feb 25, 2022

Looking through the Currently available SlotFills and examples in the official Block Editor handbook, there does not appear to be SlotFill we could use to add this information to the "Block" panel.

While I suspect we could inject a React portal area into the DOM in the desired location and then populate that portal, this seems like a lot of additional complexity for modest gains.

If the Gutenberg project adds a SlotFill in the "Block" panel in the future, we should revisit this topic but for now I'm going to mark it as a wontfix and close this issue.

@salcode salcode closed this as completed Feb 25, 2022
@salcode salcode added the wontfix This will not be worked on label Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant