mizzao / meteor-sharejs

Meteor smart package for transparently adding ShareJS editors to an app
MIT License
225 stars 53 forks source link

Saving editor content to database #90

Closed MPH320 closed 6 years ago

MPH320 commented 7 years ago

Anything that I type in the editor goes away if I leave and come back to it later. Is there anyway to have the data permanently save to the document?

Thanks.

DavidSichau commented 6 years ago

It is only cached in memory. You need to implement your own logic to persistent store the documents on the server and initalize the editor with the content from the server on startup.