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":647123,"date":"2026-11-19T13:29:12","date_gmt":"2026-11-19T13:29:12","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=647123"},"modified":"2026-11-19T13:29:13","modified_gmt":"2026-11-19T13:29:13","slug":"khokkey-goldbet-%d2%9boldanbasyna-k%d1%96ru-key%d1%96pkerler%d1%96n%d1%96%d2%a3-porttaryna-sholu-%d2%9byzy%d2%9bty-%d2%9bosymsha-bonustar-zh%d3%99ne-%d2%aflken-payda","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=647123","title":{"rendered":"\u0425\u043e\u043a\u043a\u0435\u0439 goldbet \u049b\u043e\u043b\u0434\u0430\u043d\u0431\u0430\u0441\u044b\u043d\u0430 \u043a\u0456\u0440\u0443 \u043a\u0435\u0439\u0456\u043f\u043a\u0435\u0440\u043b\u0435\u0440\u0456\u043d\u0456\u04a3 \u043f\u043e\u0440\u0442\u0442\u0430\u0440\u044b\u043d\u0430 \u0448\u043e\u043b\u0443 \u049a\u044b\u0437\u044b\u049b\u0442\u044b \u049b\u043e\u0441\u044b\u043c\u0448\u0430 \u0431\u043e\u043d\u0443\u0441\u0442\u0430\u0440 \u0436\u04d9\u043d\u0435 \u04af\u043b\u043a\u0435\u043d \u043f\u0430\u0439\u0434\u0430"},"content":{"rendered":"
\n

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