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":146780,"date":"2026-09-10T00:23:53","date_gmt":"2026-09-09T23:23:53","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=146780"},"modified":"2026-09-10T00:23:55","modified_gmt":"2026-09-09T23:23:55","slug":"men-out-of-cuba-or-other-nations-determine-are-deported-from-100-deposit-bonus-the-u-s-to-help-you-a-dangerous-african-country-we-can-not-exit","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=146780","title":{"rendered":"Men out of Cuba or other nations determine are deported from 100\u00a3 deposit bonus the U S. to help you a dangerous African country: \"We can not exit\""},"content":{"rendered":"
\n

Content<\/p>\n