@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
|
-
|
|
220
|
+
console.log('!!!!!');
|
|
221
|
+
if (!disableHoverMenu) setIsShowImageHoverMenu(true);
|
|
222
222
|
}, [disableHoverMenu, setPosition]);
|
|
223
223
|
const reloadImage = (0, _react.useCallback)(() => {
|
|
224
224
|
if (imageRef.current) {
|