Reverted changes to codemirror line wrapping
This commit is contained in:
parent
e91ef54cc9
commit
ef762e851a
1 changed files with 3 additions and 3 deletions
|
@ -102,7 +102,7 @@ function highlightElem(elem) {
|
||||||
value: content,
|
value: content,
|
||||||
mode: mode,
|
mode: mode,
|
||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
lineWrapping: true,
|
lineWrapping: false,
|
||||||
theme: getTheme(),
|
theme: getTheme(),
|
||||||
readOnly: true
|
readOnly: true
|
||||||
});
|
});
|
||||||
|
@ -189,7 +189,7 @@ function wysiwygView(elem) {
|
||||||
value: content,
|
value: content,
|
||||||
mode: getMode(lang),
|
mode: getMode(lang),
|
||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
lineWrapping: true,
|
lineWrapping: false,
|
||||||
theme: getTheme(),
|
theme: getTheme(),
|
||||||
readOnly: true
|
readOnly: true
|
||||||
});
|
});
|
||||||
|
@ -215,7 +215,7 @@ function popupEditor(elem, modeSuggestion) {
|
||||||
value: content,
|
value: content,
|
||||||
mode: getMode(modeSuggestion),
|
mode: getMode(modeSuggestion),
|
||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
lineWrapping: true,
|
lineWrapping: false,
|
||||||
theme: getTheme()
|
theme: getTheme()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue