chore: super image insertion improvements
This commit is contained in:
@@ -44,7 +44,7 @@ export default function RemoteImagePlugin() {
|
||||
$wrapNodeInElement(imageNode, $createParagraphNode).selectEnd()
|
||||
}
|
||||
const newLineNode = $createParagraphNode()
|
||||
$insertNodes([newLineNode])
|
||||
imageNode.getParentOrThrow().insertAfter(newLineNode)
|
||||
|
||||
return true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user