mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 22:33:17 +00:00
16 lines
421 B
JavaScript
16 lines
421 B
JavaScript
![]() |
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>
|
||
|
);
|
||
|
}
|
||
|
}
|