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":645453,"date":"2026-11-19T05:14:19","date_gmt":"2026-11-19T05:14:19","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=645453"},"modified":"2026-11-19T05:14:19","modified_gmt":"2026-11-19T05:14:19","slug":"%ce%b2%ce%b9%ce%b2%ce%bb%ce%af%ce%bf-%ce%ba%ce%b1%ce%b6%ce%af%ce%bd%ce%bf-%ce%bc%ce%b5-%ce%b5%ce%bb%ce%ac%cf%87%ce%b9%cf%83%cf%84%ce%b7-%ce%ba%ce%b1%cf%84%ce%ac%ce%b8%ce%b5%cf%83%ce%b7-%ce%bf%ce%ba","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=645453","title":{"rendered":"\u0392\u03b9\u03b2\u03bb\u03af\u03bf \u03ba\u03b1\u03b6\u03af\u03bd\u03bf \u03bc\u03b5 \u03b5\u03bb\u03ac\u03c7\u03b9\u03c3\u03c4\u03b7 \u03ba\u03b1\u03c4\u03ac\u03b8\u03b5\u03c3\u03b7 \u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2 2026: \u0399\u03c3\u03c4\u03cc\u03c4\u03bf\u03c0\u03bf\u03b9 \u03bc\u03b5 \u03c4\u03b7 \u03c7\u03b1\u03bc\u03b7\u03bb\u03cc\u03c4\u03b5\u03c1\u03b7 \u03ba\u03b1\u03c4\u03ac\u03b8\u03b5\u03c3\u03b7"},"content":{"rendered":"
\n

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