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":1906,"date":"2023-01-08T10:44:58","date_gmt":"2023-01-08T10:44:58","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=1906"},"modified":"2024-06-16T11:22:19","modified_gmt":"2024-06-16T10:22:19","slug":"skachat-prilozhenie-1xbet-na-kompjuter-s-ofitsialnogo-sajta-nezhelajuschim2c-polnaja-versi","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=1906","title":{"rendered":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 1xbet \u041d\u0430 \u041a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0441 \u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0421\u0430\u0439\u0442\u0430 \u043d\u0435\u0436\u0435\u043b\u0430\u044e\u0449\u0438\u043c%2C \u041f\u043e\u043b\u043d\u0430\u044f \u0412\u0435\u0440\u0441\u0438"},"content":{"rendered":"

\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 1xbet \u041d\u0430 \u041a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0441 \u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0421\u0430\u0439\u0442\u0430 \u043d\u0435\u0436\u0435\u043b\u0430\u044e\u0449\u0438\u043c%2C \u041f\u043e\u043b\u043d\u0430\u044f \u0412\u0435\u0440\u0441\u0438\u044f<\/p>\n

1xbet%3A \u043f\u0440\u043e\u0445\u043e\u0434 \u041d\u0430 \u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0421\u0430\u0439\u0442%2C \u041f\u043e\u043b\u043d\u0430\u044f \u0412\u0435\u0440\u0441\u0438\u044f%2C \u041c\u043e\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0412\u0435\u0440\u0441\u0438 Chuy\u1ec7n H\u1eb9n H\u00f2\"<\/h1>\n
\n

Content<\/p>\n