From 5d53e62e68a86dac1fe2f42e0f6f3f48eae4716a Mon Sep 17 00:00:00 2001 From: CanvasCraft Date: Fri, 28 Jun 2024 17:56:59 +0100 Subject: [PATCH] Add files via upload --- src/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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