@seafile/sdoc-editor 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -5,6 +5,6 @@ import SimpleViewer from './pages/simple-viewer';
|
|
|
5
5
|
import DiffViewer from './pages/diff-viewer';
|
|
6
6
|
import PublishedRevisionViewer from './pages/published-revision-viewer';
|
|
7
7
|
import WikiViewer from './pages/wiki-viewer';
|
|
8
|
-
import
|
|
8
|
+
import SdocWikiEditor from './pages/sdoc-wiki-editor';
|
|
9
9
|
import DocumentPluginEditor from './pages/document-plugin-editor';
|
|
10
|
-
export { SDocViewer, SimpleEditor, SimpleViewer, EventBus, EXTERNAL_EVENT, DiffViewer, PublishedRevisionViewer, WikiViewer,
|
|
10
|
+
export { SDocViewer, SimpleEditor, SimpleViewer, EventBus, EXTERNAL_EVENT, DiffViewer, PublishedRevisionViewer, WikiViewer, SdocWikiEditor, DocumentPluginEditor };
|
|
@@ -10,7 +10,7 @@ import { TITLE } from '../basic-sdk/extension/constants';
|
|
|
10
10
|
import WikiEditor from '../basic-sdk/editor/wiki-editor';
|
|
11
11
|
import { setOutlineSetting } from '../basic-sdk/outline';
|
|
12
12
|
import '../assets/css/simple-viewer.css';
|
|
13
|
-
const
|
|
13
|
+
const SdocWikiEditor = _ref => {
|
|
14
14
|
let {
|
|
15
15
|
document,
|
|
16
16
|
docUuid,
|
|
@@ -56,4 +56,4 @@ const SdocWikiViewer = _ref => {
|
|
|
56
56
|
scrollRef: scrollRef
|
|
57
57
|
}));
|
|
58
58
|
};
|
|
59
|
-
export default withTranslation('sdoc-editor')(
|
|
59
|
+
export default withTranslation('sdoc-editor')(SdocWikiEditor);
|