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":2058,"date":"2024-07-02T06:22:55","date_gmt":"2024-07-02T05:22:55","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=2058"},"modified":"2024-07-02T06:22:55","modified_gmt":"2024-07-02T05:22:55","slug":"1xbet-%d0%be%d1%84%d0%b8%d1%86%d0%b8%d0%b0%d0%bb%d1%8c%d0%bd%d1%8b%d0%b9-%d1%81%d0%b0%d0%b9%d1%82%3a-%d0%bc%d0%be%d0%b1%d0%b8%d0%bb%d1%8c%d0%bd%d0%b0%d1%8f-%d0%b2%d0%b5%d1%80%d1%81%d0%b8%d1%8f-%d0%b8","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=2058","title":{"rendered":"1xbet \u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0421\u0430\u0439\u0442%3A \u041c\u043e\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0412\u0435\u0440\u0441\u0438\u044f \u0418 \u043c\u043d\u043e\u0433\u043e\u043c \u0414\u0440\u0443\u0433\u043e\u0435 1\u0445 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0421\u0430\u0439"},"content":{"rendered":"

1xbet \u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0421\u0430\u0439\u0442%3A \u041c\u043e\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0412\u0435\u0440\u0441\u0438\u044f \u0418 \u043c\u043d\u043e\u0433\u043e\u043c \u0414\u0440\u0443\u0433\u043e\u0435 1\u0445 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0421\u0430\u0439\u0442<\/p>\n

\u0411\u0443\u043a\u043c\u0435\u043a\u0435\u0440\u0441\u043a\u0430\u044f \u041a\u043e\u043d\u0442\u043e\u0440\u0430 1\u0445\u0431\u0435\u0442 1xbet \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f%2C \u0411\u043e\u043d\u0443\u0441\u044b%2C \u0412\u0445\u043e\u0434 \u041d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0421\u0430\u0439\u0442<\/h1>\n
\n

Content<\/p>\n