diff --git a/js/src/rte.js b/js/src/rte.js index ab8d05b666..de8a4a7265 100644 --- a/js/src/rte.js +++ b/js/src/rte.js @@ -378,7 +378,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);