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":1666,"date":"2022-12-16T09:31:16","date_gmt":"2022-12-16T09:31:16","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=1666"},"modified":"2024-06-07T23:19:29","modified_gmt":"2024-06-07T22:19:29","slug":"bukmekerskaja-kontora-betboom-ofitsialnyj-sajt-v-rossii-stavki-na-sport-na-realnye-dengi-v-luchshej-bukmekerskoj-kontore","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=1666","title":{"rendered":"\u0411\u0443\u043a\u043c\u0435\u043a\u0435\u0440\u0441\u043a\u0430\u044f \u041a\u043e\u043d\u0442\u043e\u0440\u0430 Betboom \u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0421\u0430\u0439\u0442 \u0412 \u0420\u043e\u0441\u0441\u0438\u0438 \u0421\u0442\u0430\u0432\u043a\u0438 \u041d\u0430 \u0421\u043f\u043e\u0440\u0442 \u043d\u0430 \u0420\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0414\u0435\u043d\u044c\u0433\u0438 \u0432 \u041b\u0443\u0447\u0448\u0435\u0439 \u0411\u0443\u043a\u043c\u0435\u043a\u0435\u0440\u0441\u043a\u043e\u0439 \u041a\u043e\u043d\u0442\u043e\u0440\u0435"},"content":{"rendered":"

\u0411\u0443\u043a\u043c\u0435\u043a\u0435\u0440\u0441\u043a\u0430\u044f \u041a\u043e\u043d\u0442\u043e\u0440\u0430 Betboom \u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0421\u0430\u0439\u0442 \u0412 \u0420\u043e\u0441\u0441\u0438\u0438 \u0421\u0442\u0430\u0432\u043a\u0438 \u041d\u0430 \u0421\u043f\u043e\u0440\u0442 \u043d\u0430 \u0420\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0414\u0435\u043d\u044c\u0433\u0438 \u0432 \u041b\u0443\u0447\u0448\u0435\u0439 \u0411\u0443\u043a\u043c\u0435\u043a\u0435\u0440\u0441\u043a\u043e\u0439 \u041a\u043e\u043d\u0442\u043e\u0440\u0435!<\/p>\n

Winline \u0414\u0435\u043b\u0430\u0435\u0442 \u043c\u0435\u0436\u0434\u0443! \u0411\u0443\u043a\u043c\u0435\u043a\u0435\u0440\u0441\u043a\u0430\u044f \u041a\u043e\u043d\u0442\u043e\u0440\u0430 Winline \u041e\u043d\u043b\u0430\u0439\u043d \u0421\u0442\u0430\u0432\u043a\u0438 \u0438 \u0421\u043f\u043e\u0440\u0442!<\/h1>\n
\n

Content<\/p>\n