tiptap: fix mind maxWidth

pull/29/head
fantasticit 2022-04-26 09:06:37 +08:00
parent 4f9a9842cd
commit ad7b9db5d4
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ export const MindWrapper = ({ editor, node, updateAttributes }) => {
{content}
</Resizeable>
) : (
<div style={{ display: 'inline-block', width, height }}>{content}</div>
<div style={{ display: 'inline-block', width, height, maxWidth: '100%' }}>{content}</div>
)}
</NodeViewWrapper>
);