diff --git a/static/js/instructions.js b/static/js/instructions.js index c681f63..420c191 100644 --- a/static/js/instructions.js +++ b/static/js/instructions.js @@ -108,7 +108,8 @@ function renderPendingCard(item, index) { editTA.addEventListener('keydown', (e) => { if (e.key === 'Escape') { e.preventDefault(); hideEdit(); } - if ((e.metaKey || e.ctrlKey) && e.key === 'Enter') { e.preventDefault(); saveBtn.click(); } + if (e.key === 'Enter' && !e.shiftKey) { e.preventDefault(); saveBtn.click(); } + // Shift+Enter → default browser behaviour (newline) }); saveBtn.addEventListener('click', async () => {