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":159587,"date":"2026-09-11T17:05:47","date_gmt":"2026-09-11T16:05:47","guid":{"rendered":"https:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=159587"},"modified":"2026-09-11T17:05:54","modified_gmt":"2026-09-11T16:05:54","slug":"eye-of-horus-herr-bet-80-kostenlose-spins-keine-einzahlung-deutschland-fur-nusse-spielen-abzuglich-registration","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=159587","title":{"rendered":"Eye of Horus Herr Bet 80 kostenlose Spins keine Einzahlung Deutschland F\u00fcr n\u00fcsse spielen abz\u00fcglich Registration"},"content":{"rendered":"
\n

Content<\/p>\n