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":161005,"date":"2026-09-12T01:27:35","date_gmt":"2026-09-12T00:27:35","guid":{"rendered":"https:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=161005"},"modified":"2026-09-12T01:27:38","modified_gmt":"2026-09-12T00:27:38","slug":"top-5-echtgeld-erreichbar-casinos-auffuhren-echtes-bimbes-das-rennen-avalon-spielautomat-machen","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=161005","title":{"rendered":"Top 5 Echtgeld Erreichbar Casinos Auff\u00fchren & echtes Bimbes das rennen Avalon Spielautomat machen"},"content":{"rendered":"
\n

Content<\/p>\n