${content} `; } function downloadHtml() { const html = getFullHtml(); const blob = new Blob([html], {type:'text/html'}); const a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = 'press-release.html'; a.click(); } function loadExample() { $('#headline').value = 'Acme Corp Launches Revolutionary AI-Powered Design Platform'; $('#dateline').value = 'SAN FRANCISCO, CA — June 11, 2026'; $('#intro').value = 'Acme Corporation, a leading technology company, today announced the launch of DesignAI Pro, a groundbreaking artificial intelligence platform that transforms the way creative professionals work. The platform uses advanced machine learning models to automate repetitive design tasks while maintaining full creative control.'; $('#body').value = 'DesignAI Pro integrates seamlessly with existing creative workflows, offering features such as intelligent layout suggestions, automated color palette generation, and real-time collaboration tools. The platform has been in beta testing with over 500 design agencies worldwide.\n\nEarly adopters report a 40% increase in productivity and a 60% reduction in repetitive design tasks. The platform supports all major design file formats and offers plugins for popular design tools.'; $('#quote').value = '"We believe AI should amplify human creativity, not replace it," said Sarah Chen, CEO of Acme Corporation. "DesignAI Pro is the result of three years of research and close collaboration with the creative community."'; $('#boilerplate').value = 'About Acme Corporation\nFounded in 2018, Acme Corporation develops AI-powered tools for creative professionals. Headquartered in San Francisco, the company serves over 10,000 customers in 50 countries.'; $('#contact').value = 'Media Contact:\nJennifer Park, Director of Communications\nEmail: [email protected]\nPhone: (415) 555-0199'; renderPreview(); } function doClear() { ['#headline','#dateline','#intro','#body','#quote','#boilerplate','#contact'].forEach(s => $(s).value = ''); renderPreview(); } // Event listeners ['#headline','#dateline','#intro','#body','#quote','#boilerplate','#contact'].forEach(sel => { $(sel).addEventListener('input', renderPreview); }); $('#releaseTypeSelect').addEventListener('change', function() { $('#embargoDate').style.display = this.value === 'embargo' ? 'block' : 'none'; renderPreview(); }); $('#embargoDate').addEventListener('change', renderPreview); $('#toolbar').innerHTML = ` `; renderPreview(); GZ.renderToolPage({ category: 'text', titleKey: 'toolTitle', descKey: 'toolDesc', howToSteps: ['step1','step2','step3','step4'], related: [ {icon:'📄', href:'/text/invoice-generator.html', name:'Invoice Generator'}, {icon:'✉️', href:'/text/cover-letter-generator.html', name:'Cover Letter'}, {icon:'📄', href:'/text/resume-builder.html', name:'Resume Builder'}, {icon:'📧', href:'/text/email-template.html', name:'Email Template'}, ] });