1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

rewrote inner & shared 'video file view' with react (#3017)

* rewrote inner & shared 'video file view' with react

* modification
This commit is contained in:
llj
2019-03-01 11:58:27 +08:00
committed by Daniel Pan
parent 17bd372668
commit 25afd1fb1a
12 changed files with 540 additions and 35 deletions

View File

@@ -37,7 +37,7 @@ const { isStarred, isLocked, lockedByMe,
const options = {
lineNumbers: false,
mode: Utils.chooseLanguage(fileExt.slice(3, fileExt.length -3)),
mode: Utils.chooseLanguage(fileExt),
extraKeys: {'Ctrl': 'autocomplete'},
theme: 'default',
autoMatchParens: true,