4 Comments

  1. Ellen
    · Reply

    Hi Justin,

    thank you so very much for your in-depth review of our first single block. It’s like you say, your review is super helpful and encouraging and gives us ideas how we can improve our work.

    I will definitely review the border settings you mentioned. I think the reason I didn’t use the Core setting options was that this option didn’t give me the possibility to offer borders only on one side. I think the border radius would be possible though. I feel like you that I wished the Core team would offer presets for more control over these setting for developers.

    I’m already working on improving the Close option :)

    Thank you so much for encouraging us to dive deeper into single blocks in general. I think it’s such a smart way, unfortunately it’s not so easy to encourage users to install multiple single blocks yet, since they are just not used to this approach. But I believe we will get there :)

    Kind Regards,
    Ellen

    Report

    • Justin Tadlock
      · Reply

      I think the reason I didn’t use the Core setting options was that this option didn’t give me the possibility to offer borders only on one side.

      There’s a ticket for controlling individual border sides and border control refinements. I’m pretty sure I’ve seen it discussed in other tickets too, so it’s something that is likely coming.

      I feel like you that I wished the Core team would offer presets for more control over these setting for developers.

      I wanted something more like Tailwind. For example, instead of letting the user add any border-radius value, we’d have named classes under the hood like rounded-sm, rounded-md, rounded-full, etc. Then, theme authors would define what those values actually are.

      Report

      • Cbirdsong
        · Reply

        For example, instead of letting the user add any border-radius value, we’d have named classes under the hood like rounded-sm, rounded-md, rounded-full, etc. Then, theme authors would define what those values actually are.

        I had just filed an issue asking for something similar! The font size presets strike a great balance between user and developer control.

        Has the Gutenberg team really dismissed this approach definitively? 🤯 Do they not see the many problems with block settings outputting inline styles?

        Report

        • Justin Tadlock
          · Reply

          I don’t want to say they’ve dismissed it definitively. It’s still possible to build that system down the road while starting with custom sizes. It’s more that I’ve been losing hope for it to happen. I was so excited that this was how font-sizes and colors started out. Then, everything just went the other direction with new options.

          Thanks for opening that new ticket. It gives me hope just seeing others with the same thoughts.

          Report

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: