Detailed Documenntation of the ProseMirror Collaboration Demo. Read More

ProseMirror Demo Documentation


THIS DOCUMENT IS A WORK IN PROGRES.  NOT COMPLETED. 
 
So here is my version of the documentation for the collaborative demo. 

So first make sure that you a have read the basic concepts documentation. and the rest of it

If you go to the /demo directory in the github prosemirror repository there are a bunch of files. 

index.html is what runs in the client

demo.js is what runs on the server.

I have detailed docs of demo.js over here.  

The Mythical Man-Month: "Show me your code and conceal your data structures, and I shall continue to be mystified. Show me your data structures, and I won't usually need your code; it'll be obvious."

So at the root of the application is 

document

window

These are defined by Node.js

document.dummy

    

So here is the critical section from the client page index.html

button id="switch"

button id="mark"

div class="left"

div class="right"

textarea id="content"

And the clioent Javascript is in load.js

   
   

 

 

   



Powered by Zopache, Grok, Zope and ZODB