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":2033,"date":"2023-02-18T13:39:39","date_gmt":"2023-02-18T13:39:39","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=2033"},"modified":"2024-06-27T00:40:41","modified_gmt":"2024-06-26T23:40:41","slug":"%d8%aa%d9%86%d8%b2%d9%8a%d9%84-1xbet-%d8%ac%d9%85%d9%8a%d8%b9-%d8%a5%d8%b5%d8%af%d8%a7%d8%b1%d8%a7%d8%aa-1xbet-v-1116560-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-%d8%a7%d9%84%d9%85%d8%b1%d8%a7","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=2033","title":{"rendered":"\u062a\u0646\u0632\u064a\u0644 1xbet => \u062c\u0645\u064a\u0639 \u0625\u0635\u062f\u0627\u0631\u0627\u062a 1xbet V 1116560 \u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u0645\u0631\u0627\u0647\u0646\u0627\u062a + \u0645\u0643\u0627\u0641\u0623\u0629 \u0645\u062c\u0627\u0646\u064a"},"content":{"rendered":"

\u062a\u0646\u0632\u064a\u0644 1xbet => \u062c\u0645\u064a\u0639 \u0625\u0635\u062f\u0627\u0631\u0627\u062a 1xbet V 1116560 \u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u0645\u0631\u0627\u0647\u0646\u0627\u062a + \u0645\u0643\u0627\u0641\u0623\u0629 \u0645\u062c\u0627\u0646\u064a\u0629<\/p>\n

\u0627\u0644\u0645\u0631\u0627\u0647\u0646\u0627\u062a \u0627\u0644\u0631\u064a\u0627\u0636\u064a\u0629 \u0623\u0648\u0646\u0644\u0627\u064a\u0646 1xbet \u1409 \u0634\u0631\u0643\u0629 \u0627\u0644\u0645\u0631\u0627\u0647\u0646\u0627\u062a 1xbet \u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644 \u1409 1xbet Com<\/h1>\n
\n

Content<\/p>\n