diff --git a/site/examples/images.tsx b/site/examples/images.tsx index f1bd7d7a1..d9c2047f4 100644 --- a/site/examples/images.tsx +++ b/site/examples/images.tsx @@ -82,6 +82,10 @@ const insertImage = (editor, url) => { const text = { text: '' } const image: ImageElement = { type: 'image', url, children: [text] } Transforms.insertNodes(editor, image) + Transforms.insertNodes(editor, { + type: 'paragraph', + children: [{ text: '' }], + }) } const Element = props => {