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":636826,"date":"2026-11-18T12:01:45","date_gmt":"2026-11-18T12:01:45","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=636826"},"modified":"2026-11-18T12:01:44","modified_gmt":"2026-11-18T12:01:44","slug":"az-osztonzo-forog-hirdetesek-nincs-szukseg-abu-king-alkalmazas-letoltese-szamitogepre-elolegre-legujabb-ajanlatok","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=636826","title":{"rendered":"Az \u00f6szt\u00f6nz\u0151 forog Hirdet\u00e9sek Nincs sz\u00fcks\u00e9g Abu King alkalmaz\u00e1s let\u00f6lt\u00e9se sz\u00e1m\u00edt\u00f3g\u00e9pre el\u0151legre: Leg\u00fajabb aj\u00e1nlatok"},"content":{"rendered":"
\n

Bejegyz\u00e9sek<\/p>\n