// Reveal menu again once cloned and iframe ready
if (!isEditor) {
const showElements = () => {
document.querySelectorAll('#baseIframeURL,[id^="menu-"]').forEach(el=>{
el.style.visibility = 'hidden';
el.style.opacity = '0';
});
};
showElements(); // keep them hidden
}