Steps to reproduce:
- Open VE
- Open the Graph insert dialog
- Click "Cancel" to close the dialog
- Observe that, the cursor has now moved to the end of the previous line
- Press return to go to the next line
The following error appears in the console:
Uncaught Error: Inserted data is trying to close the root node (at index 0)