Image in a docx file being discarded by the docx reader #11028
Unanswered
andrew-danieli-fj
asked this question in
Q&A
Replies: 2 comments 3 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
1 reply
-
Is a custom style involved? See #10705 In any case, try this with a nightly to see if that fix handles this as well. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've come across an odd issue during the conversion of my docx file to html. One of the images in the document is being removed during the conversion, but still being extracted to the media folder. The image is a .png format internally and opens fine from the copy in the media folder, so its not corrupted. It's also defined as a "caption" style in the document with the associated "text" caption also styled the same way, like the rest of the images. Instead of the expected
<figure><figcaption></figcaption></figure>
I just get<div data-custom-style="caption"><p>Figure caption text</p></div>
in the html output. Converting to the "native" AST shows the sameDiv, [ Para ]
internal structure.Is it possible to turn on logging for the docx reader to see what it's doing internally during the conversion?
Beta Was this translation helpful? Give feedback.
All reactions