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

update seafile-editor import method

This commit is contained in:
shanshuirenjia
2022-05-25 15:22:43 +08:00
parent 99dc94eeb3
commit db8c2b6ab2
13 changed files with 14 additions and 17 deletions

View File

@@ -1,12 +1,12 @@
import React from 'react';
import ReactDOM from 'react-dom';
import { MarkdownViewer } from '@seafile/seafile-editor';
import { seafileAPI } from './utils/seafile-api';
import { Utils } from './utils/utils';
import { serviceURL, mediaUrl } from './utils/constants';
import SharedFileView from './components/shared-file-view/shared-file-view';
import SharedFileViewTip from './components/shared-file-view/shared-file-view-tip';
import Loading from './components/loading';
import MarkdownViewer from '@seafile/seafile-editor/dist/viewer/markdown-viewer';
import toaster from './components/toast';
const { repoID, sharedToken, rawPath, err } = window.shared.pageOptions;