This PR overhauls the way pubpub-editor renders custom elements. Rather than relying on Prosemirror NodeViews which create a React container, we now use the native Prosemirror dom rendering.
Test plan:
Run npm start and validate that the editor still loads without error.
Open the RenderTest folder in Storybook and validate that all schema elements render identically on client and server.
This PR overhauls the way pubpub-editor renders custom elements. Rather than relying on Prosemirror NodeViews which create a React container, we now use the native Prosemirror dom rendering.
Test plan:
npm start
and validate that the editor still loads without error.RenderTest
folder in Storybook and validate that all schema elements render identically on client and server.