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":634580,"date":"2026-11-18T02:37:59","date_gmt":"2026-11-18T02:37:59","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=634580"},"modified":"2026-11-18T02:37:58","modified_gmt":"2026-11-18T02:37:58","slug":"hostitel-wild-panda-harbors-uzijte-si-100-bezplatne-pristavy-o-skutecne-penize","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=634580","title":{"rendered":"Hostitel Wild Panda Harbors U\u017eijte si 100% bezplatn\u00e9 p\u0159\u00edstavy o skute\u010dn\u00e9 pen\u00edze"},"content":{"rendered":"
\n

Obsah<\/p>\n