Card as Link Wrapper
Wraps any block content in a single clickable card, with new-tab control and external-link awareness.
What it does
Turns a group of blocks — heading, image, text, whatever an editor arranges — into one clickable card that links wherever they choose, with an option to open in a new tab and a settable background color.
Why it exists
“Make the whole card clickable” is one of the most common layout requests and one of the easiest to implement inaccessibly. Providing it as a governed block gives editors the pattern they want without hand-written markup or nested, conflicting links.
Engineering considerations
The block renders server-side, wrapping its inner content in a single anchor and emitting proper block wrapper attributes so theme styling and the editor’s background-color support apply cleanly. New-tab links receive rel="noopener noreferrer", and it coordinates with the external-link plugin so an outbound card surfaces its icon on the heading rather than on the full-card link.