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":634650,"date":"2026-11-18T02:53:12","date_gmt":"2026-11-18T02:53:12","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=634650"},"modified":"2026-11-18T02:53:15","modified_gmt":"2026-11-18T02:53:15","slug":"%cf%84%ce%b1-%ce%ba%ce%b1%ce%bb%cf%8d%cf%84%ce%b5%cf%81%ce%b1-%ce%ba%ce%b1%ce%b6%ce%af%ce%bd%ce%bf-paysafecard-%cf%83%cf%84%ce%bf-%ce%b7%ce%bd%cf%89%ce%bc%ce%ad%ce%bd%ce%bf-%ce%b2%ce%b1%cf%83%ce%af","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=634650","title":{"rendered":"\u03a4\u03b1 \u03ba\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03b1 \u03ba\u03b1\u03b6\u03af\u03bd\u03bf Paysafecard \u03c3\u03c4\u03bf \u0397\u03bd\u03c9\u03bc\u03ad\u03bd\u03bf \u0392\u03b1\u03c3\u03af\u03bb\u03b5\u03b9\u03bf \u03c4\u03bf\u03bd \u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf \u03c4\u03bf\u03c5 2026"},"content":{"rendered":"
\n

\u0386\u03c1\u03b8\u03c1\u03b1<\/p>\n