mirror of https://github.com/fantasticit/think.git
tiptap: fix image size
This commit is contained in:
parent
d98fb8d4c5
commit
5b8dac7f72
|
@ -90,7 +90,7 @@ export const ImageWrapper = ({ editor, node, updateAttributes }) => {
|
|||
</Spin>
|
||||
</div>
|
||||
) : (
|
||||
<LazyLoadImage src={src} alt={alt} width={width} height={height} />
|
||||
<LazyLoadImage src={src} alt={alt} width={'100%'} height={'100%'} />
|
||||
)}
|
||||
</Resizeable>
|
||||
</NodeViewWrapper>
|
||||
|
|
Loading…
Reference in New Issue