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":162786,"date":"2026-09-12T19:52:42","date_gmt":"2026-09-12T18:52:42","guid":{"rendered":"https:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=162786"},"modified":"2026-09-12T19:52:45","modified_gmt":"2026-09-12T18:52:45","slug":"%ce%b3%ce%bd%cf%8e%ce%bc%ce%b7-%ce%b3%ce%b9%ce%b1-%cf%84%ce%bf-slot-5-dragons-%ce%b5%ce%bd%cf%84%ce%b5%ce%bb%cf%8e%cf%82-%ce%b4%cf%89%cf%81%ce%b5%ce%ac%ce%bd-%ce%b8%cf%8d%cf%81%ce%b5%cf%82-%cf%84","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=162786","title":{"rendered":"\u0393\u03bd\u03ce\u03bc\u03b7 \u03b3\u03b9\u03b1 \u03c4\u03bf Slot 5 Dragons: \u0395\u03bd\u03c4\u03b5\u03bb\u03ce\u03c2 \u03b4\u03c9\u03c1\u03b5\u03ac\u03bd \u03b8\u03cd\u03c1\u03b5\u03c2 \u03c4\u03b7\u03c2 Virtual Tech"},"content":{"rendered":"
\n

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