@seafile/sdoc-editor 2.0.119 → 2.0.121
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,7 +223,6 @@ 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');
|
|
227
226
|
} else {
|
|
228
227
|
timer = setTimeout(_start, interval);
|
|
229
228
|
}
|
|
@@ -225,10 +225,8 @@ 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);
|
|
229
228
|
if (imageRef.current) {
|
|
230
229
|
imageRef.current['src'] = (0, _helpers.getImageURL)(data, editor);
|
|
231
|
-
console.log('adddd');
|
|
232
230
|
setIsShowImagePlaceholder(false);
|
|
233
231
|
}
|
|
234
232
|
}, [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.121",
|
|
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": "8c9e96fe99d23442dfd23e849fc07fae8fed9048"
|
|
74
74
|
}
|