Support » Developing with WordPress » Custom Heading Block

  • bob

    (@dannyotoole)


    So I’ve seen wordpress’s heading block where you can choose what heading tag the title is, so h1, h3 etc…. I’m making my own custom gutenberg blocks and i’d like to implement this heading tag switch feature where you can dynamically change the h tag of the title within my custom block.

    The only problem is it seems to be somewhat difficult to find out how this wordpress heading block functions. I can’t seem to find any developer docs or github code or anything on it.

    So my question is are there developer docs for this block? cause i’ve already looked at the basic how to start. this link:
    https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/writing-your-first-block-type/

    I know how to make blocks and have already made a good few. just looking at this dynamic heading block in particular.

    Thanks.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Heading Block’ is closed to new replies.