I need to load MSWord file into embedded editor (onlyoffice), modify it, then upload to my server as MSWord file. I've already installed onlyoffice on my PC. https://api.onlyoffice.com/editors/demopreview#text
When i run JavascriptExample and press edit there is no editing allowed, how to enable document edit? Is it possible to upload modified file (after pressing save) to my web server's url by http? May be there is another solutions without using OnlyOffice.
ONLYOFFICE Document Builder is one of the most complete tools that enables your application to modify or build documents in DOCX, XLSX, PPTX or PDF without actually running Microsoft Office.
Safe personal space for storing and editing docs onlineTotally free!
While uploading or opening the file for editing, it will be converted to the Office Open XML (DOCX) format.
ONLYOFFICE Docs allows users to easily edit and collaborate on the go with any smartphone or tablet by switching to the mobile web version. Desktop editors for offline editing and native mobile apps for iOS and Android are available upon request.
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 :
<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 :
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With