My First Block
A simple Gutenberg block - Alert Box
★ 0stars
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/ormahbub/my-first-block/archive/refs/heads/main.zipMy First Block - Alert Box
A simple Gutenberg block for creating styled alert messages.
Features
- Three alert types: Info, Warning, Success
- Toggle icon visibility
- Live preview in editor
- Customizable messages
Installation
- Download or clone this repository
- Run
npm install - Run
npm run build - Upload to
/wp-content/plugins/ - Activate in WordPress admin
Usage
Add "Alert Box" block from the block inserter, choose type, and add your message.
Development
npm start- Development mode with hot reloadnpm run build- Production build