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":128727,"date":"2026-09-04T11:08:27","date_gmt":"2026-09-04T10:08:27","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=128727"},"modified":"2026-09-04T11:08:27","modified_gmt":"2026-09-04T10:08:27","slug":"zimpler-ar%d2%9byly-depozit-salatyn-goldbet-promo-internetteg%d1%96-e%d2%a3-zha%d2%9bsy-kazinolar","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=128727","title":{"rendered":"Zimpler \u0430\u0440\u049b\u044b\u043b\u044b \u0434\u0435\u043f\u043e\u0437\u0438\u0442 \u0441\u0430\u043b\u0430\u0442\u044b\u043d goldbet \u043f\u0440\u043e\u043c\u043e \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0442\u0435\u0433\u0456 \u0435\u04a3 \u0436\u0430\u049b\u0441\u044b \u043a\u0430\u0437\u0438\u043d\u043e\u043b\u0430\u0440"},"content":{"rendered":"
\n

\u041c\u0430\u049b\u0430\u043b\u0430\u043b\u0430\u0440<\/p>\n