Support

Account

Home Forums Gutenberg Get Custom Background Color from gutenberg color editor Reply To: Get Custom Background Color from gutenberg color editor

  • Whoops—I forgot the middle step there. Get the attributes:

    
    $block_color_attrs = get_block_color_attrs( $block );