@seafile/sdoc-editor 1.0.206-test0.3.7 → 1.0.206-test0.3.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.
@@ -68,6 +68,7 @@ const InsertElementDialog = _ref => {
68
68
  return;
69
69
  }
70
70
  _context.default.uploadLocalVideo(files).then(fileUrl => {
71
+ console.log(files, files[0]);
71
72
  (0, _helpers2.insertVideo)(validEditor, files, fileUrl, validEditor.selection, insertPosition);
72
73
  if (uploadLocalVideoInputRef.current) {
73
74
  uploadLocalVideoInputRef.current.value = '';
@@ -96,7 +96,7 @@ const insertVideo = function (editor, videoFiles, srcList, selection) {
96
96
  if (position !== _constants.INSERT_POSITION.AFTER) {
97
97
  if (isInsertVideoMenuDisabled(editor)) return;
98
98
  }
99
- console.log(videoFiles);
99
+ console.log(videoFiles[0]);
100
100
  let videoNodes;
101
101
  // Parse youtube, tencent or bilibili video url when embed thirdPlatform link
102
102
  if (Array.isArray(videoFiles) && (_videoFiles$ = videoFiles[0]) !== null && _videoFiles$ !== void 0 && _videoFiles$.isEmbeddableLink) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "1.0.206-test0.3.7",
3
+ "version": "1.0.206-test0.3.9",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",