Modal
Last updated
Was this helpful?
Last updated
Was this helpful?
This block type renders a modal window with inner blocks.
title - the modal window title;
model - an optional name to make the window ID unique;
all the parameters from the block type.
The code below renders a modal window with the "My Custom Text" title and a single inner block of the content
type that outputs the "Hello World!" text. If you add a link with the #my_custom_modal
URL anywhere on a page, it will open this modal window on click.