diff --git a/src/functions.js b/src/functions.js index a67bf5b..5c24e84 100644 --- a/src/functions.js +++ b/src/functions.js @@ -1128,7 +1128,7 @@ function applyInfoToShapePanel(div, update = false) { codeTextarea.onmouseover = () => helpChange('codeTextarea') const change = () => { // Syntax highlight - codePre.innerHTML = syntaxHighlightJavaScriptCode(codeTextarea.value) + codePre.innerHTML = syntaxHighlightJavaScriptCode(codeTextarea.value + '\n') // Set background code div.shape.remixes[div.shape.activeRemix].code = codeTextarea.value