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":81044,"date":"2026-08-19T17:11:13","date_gmt":"2026-08-19T16:11:13","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=81044"},"modified":"2026-08-19T17:11:16","modified_gmt":"2026-08-19T16:11:16","slug":"unser-besten-5-walzen-spielautomaten-in-land-super-jewel-repeater-symbole-der-dichter-und-denker","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=81044","title":{"rendered":"Unser besten 5 Walzen Spielautomaten in Land Super Jewel Repeater Symbole der dichter und denker"},"content":{"rendered":"
\n

Content<\/p>\n