Commit d2eb5b4b authored by Kevin Yumang's avatar Kevin Yumang

SERV-2286 - disabled codemirror linewrap on options

parent 4a1fcde9
...@@ -2,7 +2,7 @@ $(document).ready(function () { ...@@ -2,7 +2,7 @@ $(document).ready(function () {
$('[texteditor="true"]').each(function () { $('[texteditor="true"]').each(function () {
var editor = CodeMirror.fromTextArea(this, { var editor = CodeMirror.fromTextArea(this, {
lineNumbers: false, lineNumbers: false,
lineWrapping: true, lineWrapping: false,
mode: 'default' mode: 'default'
}); });
...@@ -26,7 +26,7 @@ $(document).ready(function () { ...@@ -26,7 +26,7 @@ $(document).ready(function () {
var editor = CodeMirror.fromTextArea(this, { var editor = CodeMirror.fromTextArea(this, {
lineNumbers: true, lineNumbers: true,
lineWrapping: true, lineWrapping: false,
theme: currentTheme, theme: currentTheme,
mode: currentLanguage mode: currentLanguage
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment