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; Comments on: No-put pay with paypal on phone at credit card machine Extra Codes August 2026 Lower Wagering, Verified trendy good fresh fruit ranch rtp Every day Sumber Informasi Energi dan Mineral Indonesia http://www.foxmultimedia.co.uk/fizzydev/?p=131755 Energetic, Fun, Live Music Sat, 05 Sep 2026 22:37:48 +0000 hourly 1 https://wordpress.org/?v=5.6.24