New entity form crashes when too much text

Pasting a long text directly in the rich text field of an entity works fine, but when using the entity create form, it crashes.

The workaround is to use the entity form to create an empty entity, and then paste the text in the rich text field.