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":4066,"date":"2025-03-18T00:57:30","date_gmt":"2025-03-18T00:57:30","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=4066"},"modified":"2025-03-19T04:46:46","modified_gmt":"2025-03-19T04:46:46","slug":"gta-on-line-lucky-wheel-blemish-und-wie-guy-das-podium-automobile-gewinnt-moyens-i-o-2","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=4066","title":{"rendered":"Gta On-line Lucky Wheel Blemish Und Wie Guy Das Podium Automobile Gewinnt Moyens I O\""},"content":{"rendered":"

<\/p>\n

Gl\u00fccksrad Zuf\u00e4llige Auswahl<\/h1>\n
\n

Content<\/p>\n