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":603816,"date":"2026-11-13T19:12:12","date_gmt":"2026-11-13T19:12:12","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=603816"},"modified":"2026-11-13T19:12:12","modified_gmt":"2026-11-13T19:12:12","slug":"paivatty-paikka-sharky-verkossa-las-vegasin-satamat-uhkapeliyritys-777-verkkosovellukset-pelaa","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=603816","title":{"rendered":"P\u00e4iv\u00e4tty paikka Sharky verkossa Las Vegasin satamat -uhkapeliyritys 777 Verkkosovellukset Pelaa"},"content":{"rendered":"
\n

Sis\u00e4lt\u00f6<\/p>\n