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":634525,"date":"2026-11-18T02:04:22","date_gmt":"2026-11-18T02:04:22","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=634525"},"modified":"2026-11-18T02:04:21","modified_gmt":"2026-11-18T02:04:21","slug":"padesat-100-procent-zdarma-revolves-bez-vkladu-nejlepsi-clenstvi-gate777-mobil-v-roce-2026-take-nabizi","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=634525","title":{"rendered":"pades\u00e1t 100 procent zdarma Revolves bez vkladu Nejlep\u0161\u00ed \u010dlenstv\u00ed gate777 mobil v roce 2026 tak\u00e9 nab\u00edz\u00ed"},"content":{"rendered":"
\n

\u010cl\u00e1nky<\/p>\n