The editing function will not work if you do not follow their procedure:
Download the document server installation and configure it on the local server from here
Choose a programming language and download the code to integrate online editors into your website (in your case, javascript sample )
Edit the configuration files in the sample by changing the default path for one to the editors installed in step 1, for this:
- Open the OnlineEditorsExampleJS.html file in the sample folder.
- At line # 10
<script id="scriptApi" type="text/javascript" src="https://doc.teamlab.com/OfficeWeb/apps/api/documents/api.js"></script> change te script to your installed editor (which you downloaded in step 1).
but
There are so many good editors who, in my opinion, are much better than this.
Free online editors:
and if you don't mind using the MS service itself, you can get started here
Note:
This library sounds promising, but it actually lacks documentation, but I would prefer to add it for future purposes.
source share