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

How to override options of Gutenberg core components? #11862

Closed
geertvansoest opened this issue Nov 14, 2018 · 2 comments
Closed

How to override options of Gutenberg core components? #11862

geertvansoest opened this issue Nov 14, 2018 · 2 comments
Labels
[Feature] Extensibility The ability to extend blocks or the editing experience Needs Technical Feedback Needs testing from a developer perspective. [Type] Help Request Help with setup, implementation, or "How do I?" questions.

Comments

@geertvansoest
Copy link

geertvansoest commented Nov 14, 2018

Hi there,

I just found out Gutenberg and I think it's amazing. Despite that, I'm challenging some issues at implementing it in a WordPress website I'm currently developing.

At this website, I want to use some core components, and also create some custom components. I want to restrict the core components a bit, for example our client should not be able to customize the font sizes at the paragraph component. And at the columns component, he should be able to only add max. 3 columns (the max. is 6 by default).

For now, I did some attempts for disabling / removing the font size block at the paragraphs component.

The main question is; is it possible to override the attributes/edit form for core components anyhow?

Thanks in advance!

Kind regard,
Geert

@designsimply designsimply added [Type] Help Request Help with setup, implementation, or "How do I?" questions. Needs Technical Feedback Needs testing from a developer perspective. labels Nov 14, 2018
@designsimply designsimply added the [Feature] Extensibility The ability to extend blocks or the editing experience label Jan 30, 2019
@designsimply
Copy link
Member

I tried researching this and found #12861 which seems to imply that what you are asking cannot be solved without first adding a filter.

I also found #6023 and I think your questions are similar enough that I would like to close this issue and consolidate to #6023.

@gziolo
Copy link
Member

gziolo commented Jan 31, 2019

I just found out Gutenberg and I think it's amazing. Despite that, I'm challenging some issues at implementing it in a WordPress website I'm currently developing.

Thanks, let me answer in the issue @designsimply linked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Extensibility The ability to extend blocks or the editing experience Needs Technical Feedback Needs testing from a developer perspective. [Type] Help Request Help with setup, implementation, or "How do I?" questions.
Projects
None yet
Development

No branches or pull requests

3 participants