Skip to content

thinkpyxl/gutenberg-section-block

 
 

Repository files navigation

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:

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.

About

A section block for Gutenberg

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 80.1%
  • CSS 10.8%
  • PHP 9.1%