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":647144,"date":"2026-11-19T13:31:44","date_gmt":"2026-11-19T13:31:44","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=647144"},"modified":"2026-11-19T13:31:44","modified_gmt":"2026-11-19T13:31:44","slug":"wild-north-radiant-skies-demonstration-gamble-goldbet-za%d2%a3dy-ma-100-payyz-teg%d1%96n-harbors-at-the-high-com","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=647144","title":{"rendered":"Wild North Radiant Skies Demonstration Gamble goldbet \u0437\u0430\u04a3\u0434\u044b \u043c\u0430 100 \u043f\u0430\u0439\u044b\u0437 \u0442\u0435\u0433\u0456\u043d Harbors at the High.com"},"content":{"rendered":"
\n

\u041c\u0430\u0437\u043c\u04b1\u043d<\/p>\n