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":159171,"date":"2026-09-11T16:10:12","date_gmt":"2026-09-11T15:10:12","guid":{"rendered":"https:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=159171"},"modified":"2026-09-11T16:10:17","modified_gmt":"2026-09-11T15:10:17","slug":"genau-so-wie-man-2026-die-eine-wordpress-internetseite-erstellt-ultimativer-100-kostenlose-spins-keine-einzahlung-asena-prinzip","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=159171","title":{"rendered":"Genau so wie man 2026 die eine WordPress-Internetseite erstellt ultimativer 100 kostenlose Spins keine Einzahlung asena Prinzip"},"content":{"rendered":"
\n

Content<\/p>\n