What's the order of reading prosemirror source code if I want contribute some code?

I’m already familiar with the ProseMirror’s API, so I want to know more about how it works.

And more, I want to contribute some code for this project if possible

But There have several sub-packages of ProseMirror like prosemirror-view, prosemirror-state, etc.

I want to know what’s the order of reading code? prosemirror-model first maybe?

Thanks in advance.

Depends entirely on what you’re interested in—the package division should make it rather easy to figure out which code lives where. But yeah, to learn about the data structures that are being used everywhere, prosemirror-model is a decent starting point.

1 Like