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:
@@ -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'
|
||||
|
Reference in New Issue
Block a user