top | item 10005864

(no title)

erisds | 10 years ago

First of all, this looks truly awesome! I've spent a lot of time recently looking at the available open source editors, and with the exception of specifically 'code editors' there isn't much out there that supports markdown.

I have been reading about the recently announced content-kit: http://madhatted.com/2015/7/31/announcing-content-kit-and-mo... and am wondering if you have considered the 'card' style concept for ProseMirror? I see ProseMirror has an interface for adding images, and says that it will support different document models in future and I'm wondering how extensible that will be.

What sort of APIs are going to be available, will it be possible to create custom 'blocks' or 'cards' of data - e.g. defining a block for adding a table / spreadsheet - similar to what you see in things like Quip or readme.io?

discuss

order

marijn|10 years ago

Basically, yes, the document object is designed to be extended by user code, so you could add your own kinds of nodes (even allowing them to contain existing node types, as in a table), but for some nodes (like tables) the impact will probably be big enough to require some specific UI-related code in the core.

marijn|10 years ago

Content-Kit looks extremely interesting, by the way. Funny that the announcement came just a few days before mine.