I've set up meteor + sharejs + cm, and I have a mongodb collection called Files which I use as the base for the editor content. However, every time I load render a new file into the editor, the file content will be loaded and immediately it disappears and the editor goes blank.
If I look into the mongodb docs collection for the respective fileId, it shows a blank snapshot instead of the content I loaded from the file.
I've set up meteor + sharejs + cm, and I have a mongodb collection called
Files
which I use as the base for the editor content. However, every time I load render a new file into the editor, the file content will be loaded and immediately it disappears and the editor goes blank.If I look into the mongodb docs collection for the respective fileId, it shows a blank snapshot instead of the content I loaded from the file.