@seafile/sdoc-editor 3.0.192 → 3.0.194

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.
@@ -37,7 +37,7 @@ var Tooltip = function Tooltip(_ref) {
37
37
  popperClassName: (0, _classnames["default"])('sdoc-tooltip', className),
38
38
  delay: delay,
39
39
  hideArrow: true,
40
- autoHide: false,
40
+ autohide: false,
41
41
  fade: fade,
42
42
  modifiers: newModifiers
43
43
  };
@@ -72,6 +72,7 @@ var SdocLinkHoverMenu = function SdocLinkHoverMenu(_ref) {
72
72
  // eslint-disable-next-line react-hooks/exhaustive-deps
73
73
  }, []);
74
74
  var handleOpenLinkPreview = (0, _react.useCallback)(function (pluginName) {
75
+ console.log('dfasdfa');
75
76
  updateDisplayPlugin(pluginName, true);
76
77
  var doc_uuid = element.doc_uuid,
77
78
  title = element.title,
@@ -155,6 +155,7 @@ var SdocFileLink = function SdocFileLink(_ref) {
155
155
  setTimeout(function () {
156
156
  onHideInsertHoverMenu();
157
157
  }, 0);
158
+ return;
158
159
  }
159
160
  var path = _slateReact.ReactEditor.findPath(editor, element);
160
161
  var focusPoint = _slate.Editor.end(editor, path);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "3.0.192",
3
+ "version": "3.0.194",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -72,5 +72,5 @@
72
72
  "publishConfig": {
73
73
  "access": "public"
74
74
  },
75
- "gitHead": "897cb437fa6aabd352834c9b9a7d246063bcbdf0"
75
+ "gitHead": "cdf81edd23b4350536ba04db8714950eba31ed7e"
76
76
  }