Bootstrap4 Container — Gutenberg Block Plugin
Bootstrap 4 container / container-fluid Gutenberg Block with ability to add a background image or color, as well as padding and margins.
by Jon Kang · github.com/skang77e/bs4-container-gutenberg-block · website
★ 1stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/skang77e/bs4-container-gutenberg-block/archive/refs/heads/master.zipFrom the readme
This project was bootstrapped with Create Guten Block.
This project provides Bootstrap 4 gutenberg block component.
npm install
- Install development package.
npm start
- Use to compile and run the block in development mode.
- Watches for any changes and reports back any errors in your code.
npm run build
- Use to build production code for your block inside dist folder.
- Runs once and reports back the gzip file sizes of the produced code.
npm run eject
- Use to eject your plugin out of create-guten-block.
- Provides all the configurations so you can customize the project as you want.
- It's a one-way street, eject and you have to maintain everything yourself.
- You don't normally have to eject a project because by ejecting you lose the connection with create-guten-block and from there onwards you have to update and maintain all the dependencies on your own.
Add as wordpress Plugin
1. Compress bs4-container-gutenberg-block folder except nodemodule folder.
2. From Your Wordpress Dashboard, upload a zipped file to Plugins / Add New.
3. Activate the plugin through the Plugins menu.
4. Go to edit page, you will see Bootstrap 4 Container Block category is added.
Version
Version: