Hello sir its been 4 years since you wrote this and here i am using your code. thanks
well there has been a little change in codemirror api, path to content is now ShareDB.data.content
i think when you wrote it must have been ShareDB.data only.
change line 7 in index.js
this.path = path || [];
to
this.path = path || ['content'];
did the trick for me.
sorry i am new to all this i don't know how to put a proper pull requrest for this.
Hello sir its been 4 years since you wrote this and here i am using your code. thanks
well there has been a little change in codemirror api, path to content is now ShareDB.data.content
i think when you wrote it must have been ShareDB.data only.
change line 7 in index.js
this.path = path || [];to
this.path = path || ['content'];did the trick for me.
sorry i am new to all this i don't know how to put a proper pull requrest for this.