9 Comments

  1. Ben Word
    · Reply

    Theme authors may be able to add custom gradients by version 6.8.

    You can do this with JS right now by updating the editor settings. For anyone wanting to completely remove the new gradients:

    wp.data.dispatch(‘core/block-editor’).updateSettings({ gradients: [] });

    …but this unfortunately still leaves the gradients panel. You can use the following code to remove it entirely:

    https://gist.github.com/retlehs/f7c41277ce0d2105f87f3431adcd37d8

    Report

  2. Marcus Tibesar
    · Reply

    Right on Justin.

    Hopefully, the Twenty-Twenty theme will be tweaked for the Gutenberg release that is included in WordPress 5.3…

    Report

  3. David Thrift
    · Reply

    Great post. Makes me want to explore Gutenburg more than I have already. I was one of those who was totally against change to start using it, but now find myself changing all my blogs over to it. I’m really lovinv the reusable blocks feature. That one thing alone makes it entirely possible to add one block to each post or page on your website where crucial info is needed to be displayed, and then in an instant make an update and basically update your entire website in one save. It’s amazing and has changed my overall blogging habits fir the better. I just wish that wordpress.com would make it easier to find your reusable blocks.

    Report

    • Jerome C Diehl
      · Reply

      I’m not sure how this applies to WordPress.com rather than Gutenberg as a whole?

      WordPress.com manages reusable blocks in the same way that core does, simply go to the block inserter, scroll down to Reusable Blocks, then click on ‘Manage All Reusable Blocks’.

      The Manage All Reusable Blocks link is also available from the editor settings icon too – ‘…’

      Hope this helps!

      Report

  4. Ciprian Popescu
    · Reply

    Why not create a button group, instead of these useless features. Button gradients can be done using CSS, they don’t need JS support.

    A button group, however, would be REALLY helpful, and I’m sure lots of developers agree with me when they are forced to:

    1. Use columns to add buttons next to each other.
    2. Use a plugin.
    3. Use some kind of CSS trickery/workaround.

    Report

  5. James
    · Reply

    I really like your post but I have found more interesting resources including this one deleted link while researching for the Gutenberg 6.7 release and I think it would be great if they introduce full theme support so that we can easily use gradients with other blocks as well.

    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: