Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Richeditor Onlyoffice edit & save document

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.

like image 989
Didar Burmaganov Avatar asked Mar 13 '15 16:03

Didar Burmaganov


People also ask

Can Onlyoffice edit pdfs?

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.

Is Onlyoffice free for personal use?

Safe personal space for storing and editing docs onlineTotally free!

Does Onlyoffice support DOCX?

While uploading or opening the file for editing, it will be converted to the Office Open XML (DOCX) format.

Is Onlyoffice web based?

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.


1 Answers

The edit feature will not work unless you follow their procedure :

  1. Download Document Server installation and set it up on your local server from here

  2. Select the programming language and download the code for the sample of online editors integration into your web site ( in your case javascript sample )

  3. 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 :

  1. Google Docs
  2. 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.

like image 191
ProllyGeek Avatar answered Oct 27 '22 09:10

ProllyGeek