1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-14 22:33:17 +00:00
Files
seahub/frontend/src/pages/sdoc-editor/index.js

16 lines
421 B
JavaScript
Raw Normal View History

import React, { Fragment } from 'react';
import { SimpleEditor } from '@seafile/sdoc-editor';
import ExternalOperations from './external-operations';
export default class SdocEditor extends React.Component {
render() {
const { repoID, docPath } = window.seafile;
return (
<Fragment>
<SimpleEditor />
<ExternalOperations repoID={repoID} docPath={docPath} />
</Fragment>
);
}
}