function exportHtml() { const htmlCode = editor.getHtml(); const cssCode = editor.getCss(); const jsCode = editor.getJs(); // Собираем выбранные скрипты const selectedScripts = []; if (document.getElementById('script1-checkbox').checked) { selectedScripts.push(document.getElementById('script1-checkbox').value); } if (document.getElementById('script2-checkbox').checked) { selectedScripts.push(document.getElementById('script2-checkbox').value); } if (document.getElementById('script3-checkbox').checked) { selectedScripts.push(document.getElementById('script3-checkbox').value); } // Собираем дополнительные скрипты const additionalScripts = selectedScripts.map(script => `