diff --git a/static/app.js b/static/app.js index 86058df..ddc1657 100644 --- a/static/app.js +++ b/static/app.js @@ -656,12 +656,14 @@ document.getElementById('chat-input')?.addEventListener('keypress', e => { // ============================================================ function showModal(body, title, size = '') { const overlay = document.getElementById('modal-overlay'); - overlay.innerHTML = ` -
Changes are saved automatically. Click "Save" to force-save, or "Close Editor" to return to the template list.
`; - showModal(body, 'ONLYOFFICE Template Editor', 'large'); + showModal(body, '', 'large'); // Load ONLYOFFICE API script dynamically const scriptUrl = onlyofficeUrl + '/web-apps/apps/api/documents/api.js';