From d8c6d1a02e4029b406343226e41b4a928c971fd9 Mon Sep 17 00:00:00 2001 From: Rajat Jain Date: Tue, 6 Oct 2020 23:20:05 +0530 Subject: [PATCH] Editor made both side scrollable Signed-off-by: Rajat Jain --- js/rte.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/rte.js b/js/rte.js index a795706797..6ebdbe8b18 100644 --- a/js/rte.js +++ b/js/rte.js @@ -376,7 +376,7 @@ RTE.COMMON = { var $elm = $('textarea[name=item_definition]').last(); var linterOptions = {}; linterOptions[that.editorType + '_editor'] = true; - that.syntaxHiglighter = Functions.getSqlEditor($elm, {}, null, linterOptions); + that.syntaxHiglighter = Functions.getSqlEditor($elm, {}, 'both', linterOptions); // Execute item-specific code that.postDialogShow(data);