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":647165,"date":"2026-11-19T13:33:27","date_gmt":"2026-11-19T13:33:27","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=647165"},"modified":"2026-11-19T13:33:28","modified_gmt":"2026-11-19T13:33:28","slug":"2026-goldbet-%d2%9boldanbasyna-k%d1%96ru-zhyl%d2%93y-na%d2%9bty-a%d2%9bsha-pozitsiyasynda%d2%93y-zha%d2%9bsy-onlayn-slot-oyyndary-beyne-oyyny","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=647165","title":{"rendered":"2026 goldbet \u049b\u043e\u043b\u0434\u0430\u043d\u0431\u0430\u0441\u044b\u043d\u0430 \u043a\u0456\u0440\u0443 \u0436\u044b\u043b\u0493\u044b \u043d\u0430\u049b\u0442\u044b \u0430\u049b\u0448\u0430 \u043f\u043e\u0437\u0438\u0446\u0438\u044f\u0441\u044b\u043d\u0434\u0430\u0493\u044b \u0436\u0430\u049b\u0441\u044b \u043e\u043d\u043b\u0430\u0439\u043d \u0441\u043b\u043e\u0442 \u043e\u0439\u044b\u043d\u0434\u0430\u0440\u044b \u0431\u0435\u0439\u043d\u0435 \u043e\u0439\u044b\u043d\u044b"},"content":{"rendered":"
\n

\u041c\u0430\u0437\u043c\u04b1\u043d<\/p>\n