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":634598,"date":"2026-11-18T02:43:39","date_gmt":"2026-11-18T02:43:39","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=634598"},"modified":"2026-11-18T02:43:39","modified_gmt":"2026-11-18T02:43:39","slug":"bier-haus-slot-%ce%b8%ce%ad%cf%83%ce%b7-%ce%b3%ce%b9%ce%b1-%cf%84%ce%bf-oktoberfest-%cf%80%ce%bf%cf%85-%cf%83%ce%b5-%cf%83%cf%84%ce%bf%ce%b9%cf%87%ce%b5%ce%b9%cf%8e%ce%bd%ce%b5%ce%b9-%cf%83%cf%84","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=634598","title":{"rendered":"Bier Haus Slot: \u0398\u03ad\u03c3\u03b7 \u03b3\u03b9\u03b1 \u03c4\u03bf Oktoberfest \u03c0\u03bf\u03c5 \u03c3\u03b5 \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03b9\u03ce\u03bd\u03b5\u03b9 \u03c3\u03c4\u03bf \u03b4\u03b9\u03b1\u03b4\u03af\u03ba\u03c4\u03c5\u03bf"},"content":{"rendered":"
\n

\u0399\u03c3\u03c4\u03bf\u03bb\u03cc\u03b3\u03b9\u03b1<\/p>\n