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":646879,"date":"2026-11-19T12:55:25","date_gmt":"2026-11-19T12:55:25","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=646879"},"modified":"2026-11-19T12:55:25","modified_gmt":"2026-11-19T12:55:25","slug":"butterfly-staxx-netent-%e3%83%9d%e3%82%b8%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%b2%e3%83%bc%e3%83%a0%ef%bc%9a%e3%83%88%e3%83%a9%e3%82%a4%e3%82%a2%e3%83%ab%e6%a9%9f%e8%83%bd%e3%81%a7100%ef%bc%85%e7%84%a1","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=646879","title":{"rendered":"Butterfly Staxx NetEnt \u30dd\u30b8\u30b7\u30e7\u30f3\u30b2\u30fc\u30e0\uff1a\u30c8\u30e9\u30a4\u30a2\u30eb\u6a5f\u80fd\u3067100\uff05\u7121\u6599\u3067\u304a\u697d\u3057\u307f\u304f\u3060\u3055\u3044"},"content":{"rendered":"
\n

\u30b3\u30f3\u30c6\u30f3\u30c4<\/p>\n