1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 07:55:36 +00:00

update markdown-editor

This commit is contained in:
杨顺强
2023-12-08 17:58:27 +08:00
parent bb5ce5e233
commit 9b21cbc51d
15 changed files with 10405 additions and 2497 deletions

View File

@@ -1,15 +1,18 @@
// Import React!
import React from 'react';
import React, { Suspense } from 'react';
import ReactDom from 'react-dom';
import { I18nextProvider } from 'react-i18next';
import i18n from './i18n-seafile-editor';
import i18n from './_i18n/i18n-seafile-editor';
import MarkdownEditor from './pages/markdown-editor';
import Loading from './components/loading';
import './index.css';
ReactDom.render(
<I18nextProvider i18n={ i18n } >
<MarkdownEditor />
<Suspense fallback={<Loading />}>
<MarkdownEditor />
</Suspense>
</I18nextProvider>,
document.getElementById('root')
);