The edit feature will not work unless you follow their procedure :
Download Document Server installation and set it up on your local server from here
Select the programming language and download the code for the sample of online editors integration into your web site ( in your case javascript sample )
Edit the configuration files in the sample changing the default path for the one to the editors installed at step 1 , to do so :
- Open OnlineEditorsExampleJS.html file in your example folder.
- In #10 line
<script id="scriptApi" type="text/javascript" src="https://doc.teamlab.com/OfficeWeb/apps/api/documents/api.js"></script>
change te script path to your installed editor ( which you have downloaded in step 1 ).
However
There are so many good editors out there that in my opinion are much better than this one .
Free Online Editors :
- Google Docs
- Box
and if you dont mind using MS service itself , you can get started here
Note :
This Library sounds promising , but it really lacks documentation , but i would rather bookmark it for future purposes.