Skip to content

marcusig/gutenberg-section-block

Repository files navigation

WARNING: This plugin isn't actively maintained. If you find issues or want to add something, you may submit pull requests. But I would highly suggest using the available core blocks, which I'm sure now cover the features in this block.

Section block for Gutenberg

One of the main elements used for layout in pages, a section / container block is on the roadmap, but I needed one. Now. So Here it is!

Plus it's a good attempt at exploring and reusing the existing components, which are plenty. So it was fairly easy in the end.

image

Settings:

  • Spacing:
    image

  • Background image:
    image

  • Background color:
    image

kapture 2018-07-23 at 17 00 10

Changelog:

2023-11-16 - v.1.1.5

  • Fix: Add lodash to dependencies to prevent breaking in WP 6.4

2020-04-14 - v.1.1.4

  • Fix: Update various libraries, fix compatibility with WP 5.4

2019-02-25 - v.1.1.3

  • Fix: Update CGB Scripts to latest version, which fixes compatibility issue with Ghost Kit

2018-12-20 - v.1.1.2

  • Tweak: Show controls for wide and full alignment

2018-12-11 - v.1.1.1

  • Fix: Changed JS dependency from wp-blocks to wp-block-library

2018-11-17 - v.1.1.0

Hopefully the deprecation / migrate part will work properly, allowing users to keep their previously created blocks, despite the changes:

  • Feature: Adds Tag selector
  • Feature: Adds section text color
  • Feature: Adds spacing toggle

2018-11-17 - v.1.0.1

  • Fix; Fix deprecated error: Update to PanelColorSettings
  • Tweak: Fixed spacer slider styles
  • Fix: Update type parameter to new allowedTypes in MediaUpload

This project was bootstrapped with Create Guten Block.