@seafile/comment-editor 1.0.32-beta.2 → 1.0.32-beta.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.
@@ -216,9 +216,9 @@ const Image = _ref => {
216
216
  }
217
217
  }, []);
218
218
  const onClickImage = (0, _react.useCallback)(() => {
219
- if (disableHoverMenu) return;
220
219
  setPosition();
221
- setIsShowImageHoverMenu(true);
220
+ console.log('!!!!!');
221
+ if (!disableHoverMenu) setIsShowImageHoverMenu(true);
222
222
  }, [disableHoverMenu, setPosition]);
223
223
  const reloadImage = (0, _react.useCallback)(() => {
224
224
  if (imageRef.current) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/comment-editor",
3
- "version": "1.0.32-beta.2",
3
+ "version": "1.0.32-beta.3",
4
4
  "private": false,
5
5
  "description": "This is a comment editor",
6
6
  "main": "dist/index.js",