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

File issue with not being able to override inspectordetails for gutenber core blocks #57

Open
jkva opened this issue Jun 19, 2020 · 3 comments

Comments

@jkva
Copy link
Contributor

jkva commented Jun 19, 2020

No description provided.

@jkva
Copy link
Contributor Author

jkva commented Dec 15, 2020

@sinabahram how about this for an issue to file:

Issue title: Override core block InspectorControls panel
Issue labels: [Feature: Extensibility]
Issue description:

I'm working on a WordPress plugin which allows image alternative text to be managed through the Coyote Service.
To ideally integrate, I would like to be able to hook into the core/image block and override the default rendering of the alt text input field in the block's InspectorControls, to:

  1. set it to readonly
  2. replace the value with the externally defined alt text for the image
  3. add clarifying link to the panel, e.g. Manage image description at Coyote service

Thus the plugin acts purely as a content filter and it not needing to modify the actual post content.

From what I can tell it's currently not possible to hook into core block InspectorControls rendering.

Potential related issues I've found:

@sinabahram
Copy link
Contributor

Great stuff. Please CC me on the issue.

@jkva
Copy link
Contributor Author

jkva commented Dec 16, 2020

@sinabahram filed as WordPress/gutenberg#27752, you should be able to nosy in on the issue from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants