1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-22 11:57:34 +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

@@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import { repoID, slug, serviceURL, isPublicWiki } from '../utils/constants';
import { Utils } from '../utils/utils';
import { deserialize } from '@seafile/seafile-editor/dist/utils/slate2markdown';
import { deserialize } from '@seafile/seafile-editor';
import'../css/index-viewer.css';
const viewerPropTypes = {