-
-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docx v.6.0.0 -- using the table options and style.xml simultaneously #842
Comments
I have made a PR, can you confirm if this branch fixes the issue? Then I will release |
Yes, after the fix it works correctly: applied to the table options and style from custom-style.xml are saved after the first opening of the file generated by docx.js. |
MS Word significantly transforms the internals of a docx file (generated by DOCX.JS) when first opened. And It does not offer to save the changes. It is possible to track changes using the extension for VS Code - OOXML Viewer. |
I have applied the fix, will release Thanks for working with me through this |
Thank's for the release of DOCX v.6.
There is a problem when I apply together options and custom-style.xml to the table.
![2021-03-21_200849](https://user-images.githubusercontent.com/63556979/111919456-1a418e80-8a9b-11eb-87d1-741b0ef91509.jpg)
Word removes options on first launch.
![2021-03-21_201105](https://user-images.githubusercontent.com/63556979/111919514-70aecd00-8a9b-11eb-8720-5d0ab569391a.jpg)
In the image before and after the first run of the created file:
If you manually move the "w:tblStyle" tag to the first place before the first file launch, the options are not removed:
![2021-03-21_201427](https://user-images.githubusercontent.com/63556979/111919669-3c87dc00-8a9c-11eb-97ec-959ab074ab92.jpg)
Please change the order of adding tags to document.xml:
let the tag "w:tblStyle" be the first one when using the table options and style.xml simultaneously.
The text was updated successfully, but these errors were encountered: