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":616830,"date":"2026-11-15T05:27:21","date_gmt":"2026-11-15T05:27:21","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=616830"},"modified":"2026-11-15T05:27:22","modified_gmt":"2026-11-15T05:27:22","slug":"casino-for-nett-norge-toppliste-slot-thunderstruck-2-og-beste-akkvisisjon-2024","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=616830","title":{"rendered":"Casino for Nett Norge Toppliste Slot thunderstruck 2 og Beste Akkvisisjon 2024"},"content":{"rendered":"
\n

Content<\/p>\n