@seafile/sdoc-editor 0.4.2-2 → 0.4.2-3

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.
@@ -3,12 +3,12 @@ import context from '../context';
3
3
  import ErrorBoundary from './error-boundary';
4
4
  import { SDocMdViewer } from '../basic-sdk';
5
5
  import '../assets/css/simple-viewer.css';
6
- context.initApi();
7
6
  const MarkdownViewer = _ref => {
8
7
  let {
9
8
  document,
10
9
  showOutline
11
10
  } = _ref;
11
+ context.initApi();
12
12
  return /*#__PURE__*/React.createElement(ErrorBoundary, null, /*#__PURE__*/React.createElement(SDocMdViewer, {
13
13
  document: document,
14
14
  showOutline: showOutline
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "0.4.2-2",
3
+ "version": "0.4.2-3",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",