Loading editor/html/css/editor.css +4 −2 Original line number Diff line number Diff line Loading @@ -542,8 +542,6 @@ dialog.ai-panel { max-width: 520px; width: 460px; height: 520px; display: flex; flex-direction: column; resize: both; overflow: hidden; z-index: 1000; Loading @@ -552,6 +550,10 @@ dialog.ai-panel { right: 20px; bottom: 20px; } dialog.ai-panel[open] { display: flex; flex-direction: column; } dialog.ai-panel::backdrop { background: none; pointer-events: none; Loading editor/html/js/editor.js +2 −0 Original line number Diff line number Diff line Loading @@ -661,7 +661,9 @@ function bindAiDialog() { // Close & Clear — register FIRST so they always work console.log('bindAiDialog: registering btn-ai-close', document.getElementById('btn-ai-close')); document.getElementById('btn-ai-close').addEventListener('click', function() { console.log('btn-ai-close clicked'); document.getElementById('ai-dialog').close(); try { localStorage.setItem('ai-dialog-open', '0'); } catch(e) {} }); Loading Loading
editor/html/css/editor.css +4 −2 Original line number Diff line number Diff line Loading @@ -542,8 +542,6 @@ dialog.ai-panel { max-width: 520px; width: 460px; height: 520px; display: flex; flex-direction: column; resize: both; overflow: hidden; z-index: 1000; Loading @@ -552,6 +550,10 @@ dialog.ai-panel { right: 20px; bottom: 20px; } dialog.ai-panel[open] { display: flex; flex-direction: column; } dialog.ai-panel::backdrop { background: none; pointer-events: none; Loading
editor/html/js/editor.js +2 −0 Original line number Diff line number Diff line Loading @@ -661,7 +661,9 @@ function bindAiDialog() { // Close & Clear — register FIRST so they always work console.log('bindAiDialog: registering btn-ai-close', document.getElementById('btn-ai-close')); document.getElementById('btn-ai-close').addEventListener('click', function() { console.log('btn-ai-close clicked'); document.getElementById('ai-dialog').close(); try { localStorage.setItem('ai-dialog-open', '0'); } catch(e) {} }); Loading