• As many WP users I investigate Guttenberg blocks.
    I do still not fully understand the way they work.

    What I want: I want to make a ordered list like:

    <div class="tips" id="save">
        <h2>Big headline</h2>
            <ol>
                    <li>
                        tip 1
                    </li>
                    <li>
                       tip 2
                    </li>
                    <li>
            </ol>
    
    </div>

    And then I can style the css in custom css to get the right look:
    background color for the div, style the numbers etc.

    When running the demo I can only save blocks and re-use them as is, so copy the same order list, but not edit the one? Also need to include the div before the H2 and close the div after the last .
    So I think nested blocks will be the way? But that needs a developer right now?

    Any plans to add such order list blocks to your plugin? Any work around I missed?

    • This topic was modified 1 year, 1 month ago by keesjan.
    • This topic was modified 1 year, 1 month ago by keesjan.
    • This topic was modified 1 year, 1 month ago by keesjan.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Hendrik Luehrsen

    (@luehrsen)

    Hey @keesjan,

    I don’t think this is a support question related to our plugin, but you can maybe try this:

    1) Put your HTML markup in a HTML block
    2) Save that block as ‘Reusable Block’
    3) In another post load that reusable block
    4) Convert that reusable block to a regular block
    5) You now have the general markup available as a boilerplate to quickly add your content

    As a general tip, if you wanted that:

    The List Block supports ordered lists. If you want the ordered list to have a background color and a different text color, you can use our background block to do that!

    I hope I answered your question!

Viewing 1 replies (of 1 total)
  • The topic ‘order list block’ is closed to new replies.