Is there any simple way to wrap just an element of the menu in Prosemiror-example-setup ?
Or I must replace all the menuContent ?
the reason : I want to change the creation of ProseMirror-prompt from the body and make it inside the ProseMirror* elements.
And customise the ui of the prompt.
There’s no good interface for this right now, but you can do what some of the examples do (see here) and first create an instance of the default example-setup menu, mutate it, and pass it as menuContent.