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":115025,"date":"2026-09-01T01:20:03","date_gmt":"2026-09-01T00:20:03","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=115025"},"modified":"2026-09-01T01:20:04","modified_gmt":"2026-09-01T00:20:04","slug":"lepsi-hazardni-podniky-amex-stranky-s-hazardnimi-bonus-za-vklad-fairspin-podniky-one-deal-with-american-show","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=115025","title":{"rendered":"Lep\u0161\u00ed hazardn\u00ed podniky Amex: Str\u00e1nky s hazardn\u00edmi Bonus za vklad FairSpin podniky One Deal with American Show"},"content":{"rendered":"
\n

\u010cl\u00e1nky<\/p>\n