1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 16:36:15 +00:00

update seafile editor version (#4041)

This commit is contained in:
杨顺强
2019-09-01 10:14:51 +08:00
committed by Daniel Pan
parent 1def2509e8
commit 54b8044056
3 changed files with 7 additions and 5 deletions

View File

@@ -954,9 +954,9 @@
}
},
"@seafile/seafile-editor": {
"version": "0.2.68",
"resolved": "https://registry.npmjs.org/@seafile/seafile-editor/-/seafile-editor-0.2.68.tgz",
"integrity": "sha512-X5mOG0TAL42fEAssL85pIlx5D/5Sfv2RZPt9epzL0HUdHnJ+agRuJZCA5zbFPLD5kzNzVxvBuh5oYy0lL05d5A==",
"version": "0.2.69",
"resolved": "https://registry.npmjs.org/@seafile/seafile-editor/-/seafile-editor-0.2.69.tgz",
"integrity": "sha512-RQOaoQIKo8CMLSa/V8vbjrIf+yyNf3lnHl4D4H+BmJtDjwCrgypa8n1wZI3wqa4PoK15RmCkfKIrcVh2JuejyQ==",
"requires": {
"@seafile/seafile-calendar": "^0.0.6",
"@seafile/slate-react": "^0.1.8",

View File

@@ -6,7 +6,7 @@
"@reach/router": "^1.2.0",
"@seafile/dtable": "0.0.140",
"@seafile/resumablejs": "^1.1.13",
"@seafile/seafile-editor": "^0.2.68",
"@seafile/seafile-editor": "^0.2.69",
"MD5": "^1.3.0",
"autoprefixer": "7.1.6",
"classnames": "^2.2.6",

View File

@@ -2,7 +2,9 @@ import i18n from 'i18next';
import Backend from 'i18next-xhr-backend';
import LanguageDetector from 'i18next-browser-languagedetector';
import { initReactI18next } from 'react-i18next';
import { mediaUrl, lang } from './utils/constants';
import { mediaUrl } from './utils/constants';
const lang = window.app.pageOptions.lang;
i18n
.use(Backend)