RichTextEditor behind proxy does not work with vite

After upgrading to Vaadin 24 we encountered the following problem:
An application in dev mode renders the RichTextEditor correctly as long as it isn’t proxied. When behind a proxy the component shortly shows, but disappears then with following error: “Internal error: no connection Component: vaadin-rich-text-editor 24.3.6”.