OnlyOffice Rendering Issue with html-docx.js Converted Files

I am writing to seek assistance regarding an issue encountered during the deployment of the community edition of OnlyOffice on a Linux machine. After successfully deploying and integrating OnlyOffice with our custom-developed test integrator, we have been able to run our document viewer efficiently. However, we have encountered a problem with rendering table cell borders from .docx files that were created using the JavaScript library html-docx.js. Specifically, the issue arises due to the conversion of HTML to .docx through a feature known as ‘altchunks’.
Could you please advise on how to address this rendering issue? We would greatly appreciate any guidance or solutions you could provide to ensure seamless integration and functionality of our document viewer.
Thank you for your time and assistance.

Hi @pollux83 :wave:
Am I understanding correctly that when you open a .docx file in the ONLYOFFICE document editor, it’s displaying incorrectly?

Could I ask you for a screenshot of the issue along with the HTML and DOCX files themselves?

Thank you for your reply :grinning:. Attached are:

  1. Invoice_test.docx (output file)
  2. Screenshot_invoice_test.png (result from OnlyOffice embed iframe)

However, I’m facing difficulties uploading the HTML file.
Invoice_test.docx (26.0 KB)

1 Like


If you have the ability to share the file, please upload it to an external storage service and share the link.

Thank you :smiley:

OK, @Nikolas

I can share this link

hey @pollux83

I am downloading a docx file instead of an html file.