I have to display a prose mirror ui in the browser from my NextJS. This is the code that I got from the prose mirror site.