@seafile/sdoc-editor 2.0.118 → 2.0.119
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.
|
@@ -223,6 +223,7 @@ var queryCopyMoveProgressView = exports.queryCopyMoveProgressView = function que
|
|
|
223
223
|
// Reload image
|
|
224
224
|
eventBus = _eventBus["default"].getInstance();
|
|
225
225
|
eventBus.dispatch(_constants.INTERNAL_EVENT.RELOAD_IMAGE);
|
|
226
|
+
console.log('xiexieni');
|
|
226
227
|
} else {
|
|
227
228
|
timer = setTimeout(_start, interval);
|
|
228
229
|
}
|
|
@@ -225,8 +225,10 @@ var Image = function Image(_ref) {
|
|
|
225
225
|
setIsShowImageHoverMenu(true);
|
|
226
226
|
}, [setPosition]);
|
|
227
227
|
var reloadImage = (0, _react.useCallback)(function () {
|
|
228
|
+
console.log(imageRef.current);
|
|
228
229
|
if (imageRef.current) {
|
|
229
230
|
imageRef.current['src'] = (0, _helpers.getImageURL)(data, editor);
|
|
231
|
+
console.log('adddd');
|
|
230
232
|
setIsShowImagePlaceholder(false);
|
|
231
233
|
}
|
|
232
234
|
}, [data, editor]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seafile/sdoc-editor",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.119",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "jest",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "8e31bba83fde67da4175279810110f3bf5ed7ad4"
|
|
74
74
|
}
|