1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +00:00

[file view] modification: make css file in <head> instead of bottom (#3030)

* for 'text file view': fixed 'bottom blank' problem; added 'line number' back
This commit is contained in:
llj
2019-03-01 19:53:51 +08:00
committed by Daniel Pan
parent 44b3885b09
commit d2cc85d05d
5 changed files with 21 additions and 6 deletions

View File

@@ -32,11 +32,10 @@ const { isStarred, isLocked, lockedByMe,
} = window.app.pageOptions;
const options = {
lineNumbers: false,
lineNumbers: true,
mode: Utils.chooseLanguage(fileExt),
extraKeys: {'Ctrl': 'autocomplete'},
theme: 'default',
autoMatchParens: true,
textWrapping: true,
lineWrapping: true,
readOnly: 'nocursor'