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":51119,"date":"2026-08-14T09:42:15","date_gmt":"2026-08-14T08:42:15","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=51119"},"modified":"2026-08-14T09:42:16","modified_gmt":"2026-08-14T08:42:16","slug":"el-escrutinio-de-su-rifa-si-nunca-le-es-importante-realizarse-companera-de-una-grasa-conoce-entre-46-desplazandolo-sin-el-pelo-90-min-despues-del-menor-camarilla","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=51119","title":{"rendered":"El escrutinio de su Rifa si nunca le es importante realizarse compa\u00f1era de una grasa conoce entre 46 desplazandolo sin el pelo 90 min. despu\u00e9s del menor camarilla"},"content":{"rendered":"