Forum


Replies: 7   Views: 3503
Real time wysiwyg docx editing
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 14-09-2016 - 07:13

Hello,

The conversion plugin generates a HTML file after transforming the DOCX, so you just need to load this HTML in the WYSIWYG you're using.

For example, if you use CKEditor (http://ckeditor.com), you just need to create a textarea, set the CKEditor to this textare and load the HTML into it. We recommend you to check the documentation of the WYSIWYG you use.

As the conversion plugin generates a whole HTML page (with html, head, body and other tags). If your WYSIWYG needs only the body content, you can filter the content you want to add using the DOMDocument functions from PHP or JavaScript.

Regards.