Download the PHP package humanmade/hm-flourish-block without Composer
On this page you can find all versions of the php package humanmade/hm-flourish-block. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download humanmade/hm-flourish-block
More information about humanmade/hm-flourish-block
Files in humanmade/hm-flourish-block
Download humanmade/hm-flourish-block
More information about humanmade/hm-flourish-block
Files in humanmade/hm-flourish-block
Vendor humanmade
Package hm-flourish-block
Short Description Embed Flourish visualisations and stories.
License GPL-2.0-or-later
Package hm-flourish-block
Short Description Embed Flourish visualisations and stories.
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package hm-flourish-block
Flourish Block
A WordPress block plugin for embedding Flourish data visualizations.
Setup
-
Install dependencies:
-
Build the block:
- For development with automatic rebuilds:
Project Structure
src/index.js- Main entry point, registers the block with the editorsrc/style.scss- Frontend styles for the blocksrc/editor.scss- Editor-only stylesinc/blocks.php- PHP block registration and render callbackinc/namespace.php- Plugin namespace and hook setupbuild/- Compiled assets (generated by npm build)
How It Works
- The block is registered as a dynamic block, meaning it's rendered server-side by PHP
- The editor shows a placeholder since
save() => null - The Flourish embed script is registered and enqueued only once via
wp_register_script()andwp_enqueue_script()to avoid duplicates - The render callback outputs the Flourish embed HTML with the specified visualization ID
All versions of hm-flourish-block with dependencies
PHP Build Version
Package Version
No informations.
The package humanmade/hm-flourish-block contains the following files
Loading the files please wait ...