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":90488,"date":"2026-08-21T14:40:12","date_gmt":"2026-08-21T13:40:12","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=90488"},"modified":"2026-08-21T14:40:12","modified_gmt":"2026-08-21T13:40:12","slug":"nejlepsi-korunka-cz-hazardni-podniky-s-losovanim-cervenec-2026-vice-nez-200-stranek-s-losovanim","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=90488","title":{"rendered":"Nejlep\u0161\u00ed Korunka CZ hazardn\u00ed podniky s losov\u00e1n\u00edm, \u010dervenec 2026: V\u00edce ne\u017e 200 str\u00e1nek s losov\u00e1n\u00edm"},"content":{"rendered":"
\n

Obsah<\/p>\n