exolnet/glutenblocks

Collection of Wordpress blocks for the Gutenberg editor.

Installs: 3 800

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 0

Open Issues: 17

Language:JavaScript

Type:wordpress-plugin


README

Latest Stable Version Software License Build Status Total Downloads

Collection of Wordpress blocks for the Gutenberg editor.

Installation

composer require exolnet/glutenblocks

Usage

If you need to create a new Block, please use the packages/src/example as the skeleton of your new block.

Developement flow

To be able to see the components, you need to install the plugin in a Wordpress site. If you have Docker installed, you can create a new Wordpress site quickly with this command:

docker-compose -f docker-compose.yml -f docker-compose-localdev.yml up

Your Wordpress site will be available on localhost:8888. You will have to finish the Wordpress installation in the browser.

If it is the first time you start the Docker containers, you will need to enable Glutenblocks plugin from the WP admin panel.

When you are done, you can stop the docker-compose process to stop the server from working.

If you want to remove the containers from your development machine, you can run this command:

docker-compose down

Testing

Component Tests

To run your components tests, please use:

yarn test

Lint

To run linter tests (project guidelines), please use:

yarn lint
composer lint

Contributing

Please see CONTRIBUTING and CODE OF CONDUCT for details.

Security

If you discover any security related issues, please email security@exolnet.com instead of using the issue tracker.

Credits

License

This code is licensed under the MIT license. Please see the license file for more information.