import { RichText } from "@wordpress/block-editor"; import { sanitizeURL, BlockProps } from "@essential-blocks/controls"; const save = ({ attributes }) => { const { blockId, image, imageCaption, horizontalAlign, verticalAlign, verticalAlignCap2, stylePreset, captionStyle, hoverEffect, openInNewTab, imageLink, enableLink, classHook, imgSource } = attributes; if (imgSource !== 'custom') { return null; } let imageURL = image.url; const linkTarget = openInNewTab ? "_blank" : undefined; if (imageURL === "") return null; return (
{enableLink && ( )} {image.alt} {!RichText.isEmpty(imageCaption) && captionStyle != "caption-style-2" && ( )}
{!RichText.isEmpty(imageCaption) && captionStyle == "caption-style-2" && ( )}
); }; export default save; {"id":169490,"date":"2026-09-15T09:10:42","date_gmt":"2026-09-15T08:10:42","guid":{"rendered":"https:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=169490"},"modified":"2026-09-15T09:10:48","modified_gmt":"2026-09-15T08:10:48","slug":"did-harley-quinn-eliminate-the-joker-in-the-wild-birds-from-preys-the-brand-new-trailer","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=169490","title":{"rendered":"Did Harley Quinn Eliminate the Joker In the Wild birds From Preys The brand new Trailer?"},"content":{"rendered":"
\n

Content<\/p>\n