@seafile/sdoc-editor 1.0.206-test0.1.8 → 1.0.206-test0.1.9

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.
@@ -93,7 +93,9 @@ const SelectSdocFileDialog = _ref => {
93
93
 
94
94
  // Insert video element in sdoc
95
95
  if (dialogType === _constants.ELEMENT_TYPE.VIDEO) {
96
+ console.log(0);
96
97
  _context.default.getSeafileVideo(fileInfo.name).then(res => {
98
+ console.log(2, res);
97
99
  if (res.status === 200) {
98
100
  console.log(5, res);
99
101
  }
package/dist/context.js CHANGED
@@ -54,6 +54,7 @@ class Context {
54
54
  (0, _defineProperty2.default)(this, "getSeafileVideo", videoName => {
55
55
  const docUuid = this.getSetting('docUuid');
56
56
  return this.api.getSdocDownloadImageUrl(docUuid, videoName).then(res => {
57
+ console.log(3, docUuid, videoName, res);
57
58
  const {
58
59
  relative_path
59
60
  } = res.data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "1.0.206-test0.1.8",
3
+ "version": "1.0.206-test0.1.9",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",