I was using 0.6.x with my own custom nodes. As update to 0.10/0.12 is basically a rewrite of ProseMirror-related components I’m looking for an example of custom components with attributes. Are there any or deep dive into other projects using ProseMirror is the only option?
This is something that I definitely want to document, but haven’t gotten around to. What kind of custom nodes are you building? We could use this thread as a first sketch for such docs.
My use case is building document template with certain fields editable. I need to provide inline node which attribute allows for passing default text (it’s content editable after render). We store JSON in the database and paring source to produce react components. Other components are just block elements with couple text attributes which are used only during the render.