mizzao / meteor-sharejs

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

Reset of Ace UndoManager to avoid resetting document to empty #40

Closed DavidSichau closed 9 years ago

DavidSichau commented 9 years ago

With this change the document can only be resetet to the status of the document on connect. This avoids that the document can be reset to a empty one.

mizzao commented 9 years ago

Thanks for pointing me in the right direction for this. I basically took your version and added some notes.

Also, I'm keeping the version pinned to the Ace editor that is being wrapped.