dtable-ui-component 4.4.8-alpha.0 → 4.4.8-alpha.1

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.
@@ -50,9 +50,13 @@ class DtableMarkdownViewer extends _react.default.PureComponent {
50
50
  }
51
51
  });
52
52
  }
53
+ const {
54
+ showTOC,
55
+ markdownContent
56
+ } = this.props;
53
57
  return /*#__PURE__*/_react.default.createElement(_seafileEditor.MarkdownViewer, {
54
- markdownContent: this.props.markdownContent,
55
- showTOC: this.props.showTOC
58
+ value: markdownContent,
59
+ showTOC: showTOC
56
60
  });
57
61
  }
58
62
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "4.4.8-alpha.0",
3
+ "version": "4.4.8-alpha.1",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "2.0.5",
7
7
  "@seafile/seafile-calendar": "0.0.24",
8
- "@seafile/seafile-editor": "0.3.146",
8
+ "@seafile/seafile-editor": "1.0.32-1",
9
9
  "antd-mobile": "2.3.1",
10
10
  "classnames": "^2.3.2",
11
11
  "dayjs": "1.10.7",