0.1.15 • Published 4 years ago

@blockhandbook/bootstrap-controls v0.1.15

Weekly downloads
7
License
ISC
Repository
github
Last release
4 years ago

Bootstrap powered controls for styling blocks built for the WordPress block editor

A library of common block styling controls powered by bootstrap.

Installation

npm i @blockhandbook/bootstrap-controls --save-dev

This package assumes that your code will run in an ES2015+ environment.

Setup

You need to be using bootstrap. Getting it setup for use in WordPress can be a little tricky, which is why we put together this @blockhandbook/bootstrap package.
See Documentation

Usage

A handful of common styling controls powered by boostrap classes are bundled in this package:

BoxShadowControls

Toolbar & InspectorControls for adding box shadow settings to blocks: BoxShadowControls in the WordPress block editor sidebar & toolbar See Documentation

BorderControls

Toolbar & InspectorControls for adding border settings to blocks: BorderControls in the WordPress block editor sidebar & toolbar See Documentation

MarginControls

Toolbar & InspectorControls for adding margin settings to blocks: MarginControls in the WordPress block editor sidebar & toolbar See Documentation

PaddingControls

Toolbar & InspectorControls for adding padding settings to blocks: BorderControls in the WordPress block editor sidebar & toolbar See Documentation

SpacingControls

Toolbar & InspectorControls for adding spacing settings to blocks: SpacingControls in the WordPress block editor sidebar & toolbar See Documentation

BackgroundControls

BackgroundControls in the WordPress block editor sidebar & toolbar See Documentation