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":2470,"date":"2024-08-22T00:07:48","date_gmt":"2024-08-21T23:07:48","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=2470"},"modified":"2024-08-22T08:21:13","modified_gmt":"2024-08-22T07:21:13","slug":"free-slots-free-on-line-casino-games-onlin","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=2470","title":{"rendered":"Free Slots Free On Line Casino Games Onlin"},"content":{"rendered":"

Free Slots Free On Line Casino Games Online<\/p>\n

Free Slots No Down Load No Registration Perform 2000+ Free Slot Games<\/h1>\n
\n

Content<\/p>\n