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":649957,"date":"2026-11-23T01:32:08","date_gmt":"2026-11-23T01:32:08","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=649957"},"modified":"2026-11-23T01:32:08","modified_gmt":"2026-11-23T01:32:08","slug":"%ce%b1%cf%80%ce%bf%ce%bb%ce%b1%cf%8d%cf%83%cf%84%ce%b5-%cf%84%ce%b7%ce%bd-%ce%b5%cf%80%ce%b9%cf%84%cf%85%cf%87%ce%af%ce%b1-%cf%84%ce%bf%cf%85-smash-%cf%83%cf%84%ce%bf-%ce%b4%ce%b9%ce%b1%ce%b4%ce%af","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=649957","title":{"rendered":"\u0391\u03c0\u03bf\u03bb\u03b1\u03cd\u03c3\u03c4\u03b5 \u03c4\u03b7\u03bd \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1 \u03c4\u03bf\u03c5 Smash \u03c3\u03c4\u03bf \u03b4\u03b9\u03b1\u03b4\u03af\u03ba\u03c4\u03c5\u03bf \u0394\u03c9\u03c1\u03b5\u03ac\u03bd Arcade"},"content":{"rendered":"
\n

\u0394\u03b7\u03bc\u03bf\u03c3\u03b9\u03b5\u03cd\u03c3\u03b5\u03b9\u03c2<\/p>\n