tiny-pixel/wp-sensible-alignments

This package is abandoned and no longer maintained. No replacement package was suggested.

Add wrappers to alignwide and alignfull blocks on save

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

Language:JavaScript

Type:wordpress-plugin

1.0.0 2019-02-19 03:35 UTC

This package is auto-updated.

Last update: 2020-01-19 06:24:32 UTC


README

License: MIT

WP Sensible is a suite of needed utilities for professional WordPress development. They are being tracked in separate repositories so that you can use only what you need.

Alignment Options

Adds wrappers for .alignfull and .alignwide blocks that provide additional hypertext surface area for easier frontend development. These hooks run when saving a post.

Production build size: 1.39KiB.

Install

via Github

This repository can be used for installation. It includes the /dist folder.

git clone git@github.com:pixelcollective/wp-sensible-alignments

via Composer

You can also install using composer:

composer require tiny-pixel/wp-sensible-alignments

via other Package Managers

If you only want the javascript src assets you can use @bit, npm or yarn:

bit import tinypixel.wp-sensible/alignments

npm i @bit/tinypixel.wp-sensible.alignments

yarn add @bit/tinypixel.wp-sensible.alignments

Development

Configured using Laravel Mix.

  • Set your development URL in resources/build/app.js.
  • Run yarn start to start a BrowserSync session
  • Run yarn build:production to build for production.