1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-21 19:37:28 +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,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import MarkdownViewer from '@seafile/seafile-editor/dist/viewer/markdown-viewer';
import { MarkdownViewer } from '@seafile/seafile-editor';
import { gettext, repoID, slug, serviceURL, isPublicWiki, sharedToken, mediaUrl } from '../utils/constants';
import Loading from './loading';
import { Utils } from '../utils/utils';