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":112850,"date":"2026-08-31T14:09:10","date_gmt":"2026-08-31T13:09:10","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=112850"},"modified":"2026-08-31T14:09:12","modified_gmt":"2026-08-31T13:09:12","slug":"beste-norske-nettcasino-2026-de-er-forsteprisvinner-vikings-go-berzerk-spilleautomater-kasinosider-indre-sett-hver-kategori","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=112850","title":{"rendered":"Beste norske nettcasino 2026 De er f\u00f8rsteprisvinner vikings go berzerk spilleautomater kasinosider indre sett hver kategori"},"content":{"rendered":"
\n

Content<\/p>\n