From: Dan Brown Date: Thu, 17 Oct 2019 13:41:39 +0000 (+0100) Subject: Reverted changes to codemirror line wrapping X-Git-Tag: v0.28.0~1^2~69 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/ef762e851a321a7538372a3d30493ad0d777a2b7?ds=inline;hp=--cc Reverted changes to codemirror line wrapping --- ef762e851a321a7538372a3d30493ad0d777a2b7 diff --git a/resources/js/services/code.js b/resources/js/services/code.js index 61aac7dc5..eedbda4bb 100644 --- a/resources/js/services/code.js +++ b/resources/js/services/code.js @@ -102,7 +102,7 @@ function highlightElem(elem) { value: content, mode: mode, lineNumbers: true, - lineWrapping: true, + lineWrapping: false, theme: getTheme(), readOnly: true }); @@ -189,7 +189,7 @@ function wysiwygView(elem) { value: content, mode: getMode(lang), lineNumbers: true, - lineWrapping: true, + lineWrapping: false, theme: getTheme(), readOnly: true }); @@ -215,7 +215,7 @@ function popupEditor(elem, modeSuggestion) { value: content, mode: getMode(modeSuggestion), lineNumbers: true, - lineWrapping: true, + lineWrapping: false, theme: getTheme() }); }