mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 11:52:34 +01:00
Reverted changes to codemirror line wrapping
This commit is contained in:
parent
e91ef54cc9
commit
ef762e851a
@ -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()
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user