JavaScript for WordPress Forums Gutenberg Development Override component ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #60807
    ldecoker
    Participant

    Hello!

    Is this possible to override the html generated by a component? I would like to change the html code generated by the columns component.

    Thx!

    #60818
    Zac Gordon
    Keymaster

    Not really to the extend you’re talking about.

    I believe the best approach you have is to build your own custom post (or see if another plugin developer has another option).

    The columns block is still be developed, but in general the ability to extend or override core blocks is not really there and the recommended approach is to build your own custom block if a core one doesn’t work.

    There is a styles API, but that is more CSS based than changing the markup.

    #60820
    ldecoker
    Participant

    Thx for your answer!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.