From 789ae23ce596a04e835788e7b11f5f1fa8d9bca6 Mon Sep 17 00:00:00 2001 From: Raroun Date: Fri, 5 May 2023 20:22:37 +0200 Subject: [PATCH] Update view/js/dropzone-factory.js Co-authored-by: Hypolite Petovan --- view/js/dropzone-factory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/js/dropzone-factory.js b/view/js/dropzone-factory.js index e0f8e4725..160024ed0 100644 --- a/view/js/dropzone-factory.js +++ b/view/js/dropzone-factory.js @@ -29,7 +29,7 @@ var DzFactory = function (max_imagesize) { targetTextarea.setRangeText(' ' + serverResponse + ' '); } else { targetTextarea.focus(); - document.execCommand('insertText', false /*no UI*/, '\n' + serverResponse + '\n'); + document.execCommand('insertText', false /*no UI*/, serverResponse); } }); this.on('complete', function(file) {