cozy / prosemirror-go

A port in Go of ProseMirror for writing a collaborative editing server
GNU Affero General Public License v3.0
45 stars 9 forks source link

ToDOM #4

Open shodgson opened 3 years ago

shodgson commented 3 years ago

Hello,

Just wanted to say thanks for this port!

For our purposes, we needed this library and the ToDOM functions in Go. I have started porting most of the ToDOM code at https://github.com/shodgson/prosemirror-go.

Most of the tests from ProseMirror JS pass. The biggest limitation at the moment is that the DOMOutputSpec does not have a 0 (hole), and instead content is inserted in the last child of the html node.

If I continue development of the ToDOM module, would you be interested in merging it here?

(I am a novice in Go and ProseMirror... so this has been a very educational exercise and there is still plenty to do before it is polished)

Thanks.

nono commented 3 years ago

Hello,

yes, we are interested by merging it. It would be better to have a single place for a Go port of prosemirror, so that people looking for it will find it easily and won't have to look at forks.

gedw99 commented 1 year ago

Ah this never happened I guess.

dom would be great