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":136069,"date":"2026-09-07T10:15:20","date_gmt":"2026-09-07T09:15:20","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=136069"},"modified":"2026-09-07T10:15:53","modified_gmt":"2026-09-07T09:15:53","slug":"magic-majestic-forest-slotspiel-fur-echtes-bares-monk-bestes-online-casino-space-gem-rasputin-%e5%89%8d%e7%94%b0%e4%bc%9a%e8%a8%88%e4%ba%8b%e5%8b%99%e6%89%80","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=136069","title":{"rendered":"Magic Majestic Forest Slotspiel F\u00fcr Echtes Bares Monk Bestes Online -Casino Space Gem Rasputin \u524d\u7530\u4f1a\u8a08\u4e8b\u52d9\u6240"},"content":{"rendered":"
\n

Content<\/p>\n