|
|
|
|
|
by bhl
1956 days ago
|
|
I had a similar experience starting out with ProseMirror; I wanted to make something similar to the editors in Dropbox Paper and Notion, and found an out-of-the-box rich text editor called tiptap built onto of it. They already had nodes for images and embeds [1, 2] which made development easy (I would recommend checking out the source code; its about a hundred lines of code for each, and simple). But as I made more custom nodes, I learned pretty well the internals of tiptap and how it used ProseMirror. And over time, I've come to appreciate knowing its api. So if there's any advice for people trying to get started with ProseMirror, I would say to look at libraries which built upon it as example code such as tiptap or the outline rich-markdown-editor [3]. [1] https://github.com/ueberdosis/tiptap/blob/main/packages/tipt... [2] https://github.com/ueberdosis/tiptap/blob/main/examples/Comp... [3] https://github.com/outline/rich-markdown-editor |
|