1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-06-26 05:41:03 +03:00

Merge branch 'fix-1575' of git://github.com/james-geiger/BookStack into james-geiger-fix-1575

This commit is contained in:
Dan Brown
2019-10-17 14:32:39 +01:00
2 changed files with 6 additions and 5 deletions

View File

@ -102,6 +102,7 @@ function highlightElem(elem) {
value: content,
mode: mode,
lineNumbers: true,
lineWrapping: true,
theme: getTheme(),
readOnly: true
});
@ -188,6 +189,7 @@ function wysiwygView(elem) {
value: content,
mode: getMode(lang),
lineNumbers: true,
lineWrapping: true,
theme: getTheme(),
readOnly: true
});
@ -213,8 +215,8 @@ function popupEditor(elem, modeSuggestion) {
value: content,
mode: getMode(modeSuggestion),
lineNumbers: true,
theme: getTheme(),
lineWrapping: true
lineWrapping: true,
theme: getTheme()
});
}
@ -250,8 +252,8 @@ function markdownEditor(elem) {
value: content,
mode: "markdown",
lineNumbers: true,
theme: getTheme(),
lineWrapping: true,
theme: getTheme(),
scrollPastEnd: true,
};