@seafile/comment-editor 0.0.11-alpha.0 → 0.0.12
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.
|
@@ -152,7 +152,6 @@ const updateImage = (editor, data) => {
|
|
|
152
152
|
};
|
|
153
153
|
exports.updateImage = updateImage;
|
|
154
154
|
const getImageURL = (data, editor) => {
|
|
155
|
-
console.log('data', data);
|
|
156
155
|
const {
|
|
157
156
|
src: url,
|
|
158
157
|
is_upload,
|
|
@@ -182,7 +181,6 @@ const getImageURL = (data, editor) => {
|
|
|
182
181
|
if (isImageUrlIsFromCopy(url, is_upload)) return url;
|
|
183
182
|
const serviceUrl = _context.default.getSetting('serviceUrl');
|
|
184
183
|
const assetsUrl = _context.default.getSetting('assetsUrl');
|
|
185
|
-
console.log(111, (0, _urlJoin.default)(serviceUrl, assetsUrl, url));
|
|
186
184
|
return (0, _urlJoin.default)(serviceUrl, assetsUrl, url);
|
|
187
185
|
};
|
|
188
186
|
exports.getImageURL = getImageURL;
|
|
@@ -249,7 +249,6 @@ const Image = _ref => {
|
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
251
|
}, [data, editor, element]);
|
|
252
|
-
console.log(isCopyImageLoading, isUploadLoading);
|
|
253
252
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, isShowImagePlaceholder && /*#__PURE__*/_react.default.createElement("span", Object.assign({
|
|
254
253
|
className: (0, _classnames.default)('sdoc-image-wrapper', className)
|
|
255
254
|
}, attributes, {
|