diff --git a/assets/script.js b/assets/script.js index 6c8820a..482ca29 100644 --- a/assets/script.js +++ b/assets/script.js @@ -77,6 +77,7 @@ function openEditor() { autosizeTextarea(textarea, shadow); + textarea.setSelectionRange(textarea.value.length, textarea.value.length); textarea.focus(); if (hasBeenOpen) return;