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 (
There\u2019s something undeniably refreshing about how modern online movie streaming platforms have transformed the way we consume films. Navigating these spaces feels surprisingly effortless from the very first click, offering users access to a vast array of titles without the hassle of complicated menus or confusing interfaces. From cult classics to recent blockbusters, the ability to find your next movie night pick is streamlined and intuitive.<\/p>\n