codeinwp / gutenberg-blocks
This package is abandoned and no longer maintained.
No replacement package was suggested.
A set of awesome Gutenberg Blocks!
Package info
github.com/Codeinwp/gutenberg-blocks
Language:JavaScript
pkg:composer/codeinwp/gutenberg-blocks
1.7.0
2021-10-10 20:03 UTC
Requires
- masterminds/html5: ^2.7
- tubalmartin/cssmin: ^4.1
Requires (Dev)
This package is auto-updated.
Last update: 2022-01-01 16:21:29 UTC
README
General structure of this module should be as the following:
- Load the transpiled code from the
builddir, aka the "dist" folder. - The functionality for each block should be isolated in it's own folder inside the
blocksdir. - If a block needs server side rendering than it should have an extension class of the
Base_Blockclass. - Any server side data handling should happen in the
store.
You can include this library like this::
if ( class_exists( '\ThemeIsle\GutenbergBlocks\Main' ) ) {
\ThemeIsle\GutenbergBlocks\Main::instance( __( 'Orbit Fox', 'otter-blocks' ) );
}
You also need to enqueue Font Awesome 5 for this module to work. Font Awesome 4 shims are recommended to avoid conflict with plugins, but not required.
Releasing
This repository uses conventional changelog commit messages to trigger release
How to release a new version:
- Clone the master branch
- Do your changes
- Send a PR to master and merge it using the following subject message
release: <release short description>- for patch releaserelease(minor): <release short description>- for minor releaserelease(major): <release short description>- for major release The release notes will inherit the body of the commit message which triggered the release. For more details check the simple-preset that we use.