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":2503,"date":"2024-08-28T17:02:33","date_gmt":"2024-08-28T16:02:33","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=2503"},"modified":"2024-08-29T14:38:59","modified_gmt":"2024-08-29T13:38:59","slug":"thousands-of-on-the-internet-bets-on-the-mostbet-a","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=2503","title":{"rendered":"Thousands Of On The Internet Bets On The Mostbet A"},"content":{"rendered":"

Thousands Of On The Internet Bets On The Mostbet Ap<\/p>\n

Withdrawal Technique Of Mostbet In Indi<\/h1>\n
\n

Content<\/p>\n