WP Manifestindependent plugin directory
manifest / editor / dhali-modal

Dhali Modal

Example block scaffolded with Create Block tool.

by The WordPress Contributors · github.com/dhali-web/dhali-modal

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/dhali-web/dhali-modal/archive/refs/heads/master.zip

Declares an update source (https://github.com/dhali-web/Dhali-Modal), so updates arrive through the plugin's own updater.

From the readme

Dhali Modal A three-block modal component: a wrapper, a clickable trigger, and the popup window content — each independently styleable and each able to contain any other blocks. Managed centrally by Dhali Extension Manager, which installs and activates this plugin on a site from this repo directly. It's also a fully standalone, valid WordPress plugin — you can install it manually the normal way if you ever need to. What it does Registers three related blocks from one plugin: - dhali-modal/modal ("Modal") — the outer wrapper block. Supports wide/full alignment. - dhali-modal/trigger ("Modal Trigger") — only insertable inside a Modal block. The clickable element that opens it. Put anything inside it — text, an icon, an image. Attributes: tagName (default button), ariaLabel, width, height. - dhali-modal/window ("Modal Window") — only insertable inside a Modal block. The popup content itself — video embeds, headings, buttons, images, whatever you nest inside it. Attributes: closeButtonLabel (default Close), modalSize (default medium), animation (default fade), overlayOpacity (default 70). Because Trigger and Window both declare "parent": ["dhali-modal/modal"] in t

Read the full README on GitHub →