Merge pull request #162 from fantasticit/fix/image-size

This commit is contained in:
fantasticit 2022-08-15 12:41:01 +08:00 committed by GitHub
commit 4f2beb2b2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ export const ImageWrapper = ({ editor, node, updateAttributes }) => {
</Spin> </Spin>
</div> </div>
) : ( ) : (
<LazyLoadImage src={src} alt={alt} width={width} height={height} /> <LazyLoadImage src={src} alt={alt} width={'100%'} height={'100%'} />
)} )}
</Resizeable> </Resizeable>
</NodeViewWrapper> </NodeViewWrapper>