dtable-ui-component 5.1.14 → 5.1.15

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.
@@ -56,12 +56,14 @@ class SimpleLongTextFormatter extends _react.default.Component {
56
56
  if (!value) return {};
57
57
  const valueType = Object.prototype.toString.call(value);
58
58
  if (valueType === '[object String]') {
59
+ const isMarkdown = true;
60
+ const previewTextNeedSlice = false;
59
61
  const {
60
62
  previewText,
61
63
  images,
62
64
  links,
63
65
  checklist
64
- } = (0, _seafileEditor.getPreviewContent)(value);
66
+ } = (0, _seafileEditor.getPreviewContent)(value, isMarkdown, previewTextNeedSlice);
65
67
  const newValue = Object.assign({}, {
66
68
  text: value,
67
69
  preview: previewText,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "5.1.14",
3
+ "version": "5.1.15",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "2.0.5",