@team-monolith/cds 1.71.0 → 1.71.1
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.
|
@@ -191,7 +191,10 @@ export default function ImageComponent({ src, altText, nodeKey, width, height, m
|
|
|
191
191
|
position: relative;
|
|
192
192
|
` }, { children: isLoadError ? (_jsx(ImageNotAvailable, {})) : (_jsxs(_Fragment, { children: [_jsx(LazyImage, { className: isFocused
|
|
193
193
|
? `focused ${$isNodeSelection(selection) ? "draggable" : ""}`
|
|
194
|
-
: null, src: src, altText: altText, imageRef: imageRef, width: width, height: height, maxWidth: maxWidth, onError: () => setIsLoadError(true) }), resizable && $isNodeSelection(selection) && isFocused && (_jsx(ImageResizer, { showCaption: false, setShowCaption: () => { }, editor: editor, buttonRef: buttonRef, imageRef: imageRef,
|
|
194
|
+
: null, src: src, altText: altText, imageRef: imageRef, width: width, height: height, maxWidth: maxWidth, onError: () => setIsLoadError(true) }), resizable && $isNodeSelection(selection) && isFocused && (_jsx(ImageResizer, { showCaption: false, setShowCaption: () => { }, editor: editor, buttonRef: buttonRef, imageRef: imageRef,
|
|
195
|
+
// fixme: maxWidth를 수정할 수 있게 되면 원복합니다.
|
|
196
|
+
// maxWidth={maxWidth}
|
|
197
|
+
onResizeStart: onResizeStart, onResizeEnd: onResizeEnd, captionsEnabled: false }))] })) })) })), _jsx(SquareButton, { size: "small", color: "icon", icon: _jsx(Settings3FillIcon, {}), onClick: () => {
|
|
195
198
|
setOpen(true);
|
|
196
199
|
}, buttonProps: {
|
|
197
200
|
"aria-label": "이미지 수정하기",
|