I am hoping to integrate a collaborative markdown editor into my meteor app.
It should allow users to edit the “Body Text” field in a document in real time with each other.
Does anyone know if a plugin is available for this - or what the best what to go about it is.
Regarding mizzao:sharejs: This package isn’t maintained anymore, but you can use edemaine:sharejs instead. You can use it for a simple textarea or with code editors (Codemirror and Ace).
I work on updating my collaborative online IDE based on Meteor, which I use for my coding workshops for kids since almost five years, source code is available here: https://github.com/Coding4KidsAT/coding4kids-ide
As both projects are open source, you can cherry-pick from the code, what might fit into your project.
Good luck!
BTW: I’m currently extending the ShareJS package to reuse the websocket used by Meteor. I’ll publish it in the approximately two weeks.
@qnipp Thanks for the praise! Indeed, I’m actively using my sharejs fork, and it’s working pretty well. I’ve fixed a few bugs here and there. The main weird behavior is that, if one person hits undo, then the last action by anyone (not just that person) gets undone.
Your work on using the Meteor socket sounds interesting! My guess is that this may fix some issues on mobile. Performance improvements too? Feel free to send a PR.