diff --git a/src/plugins/image/ImageEditor.tsx b/src/plugins/image/ImageEditor.tsx index 6a567a86..b68fe16b 100644 --- a/src/plugins/image/ImageEditor.tsx +++ b/src/plugins/image/ImageEditor.tsx @@ -271,42 +271,44 @@ export function ImageEditor({ src, title, alt, nodeKey, width, height }: ImageEd {draggable && isFocused && !disableImageResize && ( )} -
- - {!disableImageSettingsButton && ( + {readOnly || ( +
- )} -
+ {!disableImageSettingsButton && ( + + )} +
+ )} ) : null