-
Notifications
You must be signed in to change notification settings - Fork 128
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
Images not being replaced #105
Comments
Hi @asdfuken do you get any kind of error? Or is your placeholder image simply replicated for each item in your media array? Otherwise your code looks fine to my eyes, assuming the media array you push items to gets added into the context in such a way that Perhaps you could attach a copy of the problem template where you have removed everything from it except the media loop where you are having issues and I can try to reproduce the problem locally. Assuming that after you remove everything the problem still occurs, if it doesn't I'd try and backtrack what change you made that fixed the problem. |
Hello, I have updated my code as following:
This time I have a stack error:
Documento: |
Going back through old issues and I noticed this appears to be very similar to #109 |
After doing some investigating I think this is due to the fact I have an each block and its contents all within a single paragraph and then those children get wrapped in a "tmp" node instead of whatever parent node type was being used before. This was discovered from a WordML insertion bug that happened when an entire conditional appeared within a single paragraph. |
Closing this as the root of the problem appears to be the same as #109. |
Hello
I have a document where I try to replace an image without success. The sourcecode to add the image is:
While the document structure is this:
I hope we can find a solution.
Thank you
The text was updated successfully, but these errors were encountered: