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":599987,"date":"2026-11-13T15:03:22","date_gmt":"2026-11-13T15:03:22","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=599987"},"modified":"2026-11-13T15:03:22","modified_gmt":"2026-11-13T15:03:22","slug":"nazor-royalgame-uvitaci-bonus-na-vyherni-automat-thunderstruck-ii-lepsi-vlastnosti-a-herni-pruvodce","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=599987","title":{"rendered":"N\u00e1zor RoyalGame uv\u00edtac\u00ed bonus na v\u00fdhern\u00ed automat Thunderstruck II: Lep\u0161\u00ed vlastnosti a hern\u00ed pr\u016fvodce"},"content":{"rendered":"
\n

Obsah<\/p>\n