xwikisas / application-diagram Public
forked from xwiki-contrib/application-diagramNew 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
Issues with exporting Clipart shapes #22
Comments
Seems like the problem (or at least for HTML) is caused by bad URLs that are generated at export (a combination between draw.io & local instance of xwiki paths). Now, depending of the use-case, would it be useful to provide a local URL (from local instance of xwiki) or URLs for draw.io hosted cliparts? |
@arcilli can you post an example of an HTML export of a simple diagram with just a single clipart shape? (in order to better understand the issue). Thanks. |
Same problem with broken links is present when exporting diagrams with regular images (i.e. the images that are uploaded as attachments - image src example when exporting |
Indeed, the URL
is wrong. We need to find the place where this URL is generated and hook our code that uses the current host instead of |
@ilieandriuta is probably referring tot the PDF export from the Diagram menu, not the XWiki page export. |
Yes, I was referring to JPEG files not being exported to PDF export from Diagram, basically following the Steps to reproduce listed above on this issue. |
@ilieandriuta, seems like that issue is already presented in #61. |
Issues with exporting Clipart shapes #22 * Filter the diagram XML on load / save / import / export * Improve the SVG export (convert custom internal links to URLs and fix the foreignObject alternate text)
Export as HTML was removed - see #53 |
Steps to reproduce:
Expected results: The shapes added are exported and shown.
Actual results: The Clipart shapes aren't appearing.
Environment: Windows 10, XWiki 10.11.3 with MySQL 5.7 and Edge 18
The text was updated successfully, but these errors were encountered: