@seafile/sdoc-editor 1.0.198-test2.2 → 1.0.198-test2.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.
@@ -78,6 +78,15 @@ const SelectSdocFileDialog = _ref => {
78
78
  ...currentSelectedFile
79
79
  };
80
80
  console.log(22, fileInfo, file_uuid, currentSelectedFile);
81
+
82
+ // Insert whiteboard file in sdoc
83
+ if (dialogType === _constants.ELEMENT_TYPE.WHITEBOARD) {
84
+ insertFile(fileInfo);
85
+ closeDialog();
86
+ console.log(7);
87
+ return;
88
+ }
89
+
81
90
  // File has no id
82
91
  if (!file_uuid || file_uuid === '') {
83
92
  console.log('no operation');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "1.0.198-test2.2",
3
+ "version": "1.0.198-test2.3",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",