Hello,
we have been testing and are continuing to test XWiki in order to migrate from Confluence in a few months.
We are now using XWiki v15.8 and looking forward to the v15.10 at the end of the year. My question today is this one:
When we imported a space we could see the Gliffy diagrams have been imported correctly, thanks to the Draw.io diagrams extension. However we have been unable to insert a diagram image directly in a page in Edition mode (WYSIWYG me thinks). Instead we had to insert it separately, then come back to the edition mode to add it inside the page.
Is that normal? Is there a specific way to do the image inserts?
We tested adding an image in a page while editing the page. Yes, I think we had to use the Attachments tab.
I can’t redo the steps to right now because our test period has ended. I’ll have to wait until the necessary bundle of extensions and support are purchased.
I remember adding the image, then saving, then back to edit and add the attachment inside the page.
Maybe there is a tutorial around this part somewhere in the XWiki documentation which I might have missed?
Hello mflorea,
This is precisely how it went according to the notes taken:
« When creating a new diagram, the page must be saved, and when clicking on “Create” diagram, a new subpage is created in which the svg and png is attatched.»
and here is the question:
« Is it possible to directly embedd the diagram in the page where it is displayed, instead of creating a sub page?»
No, the diagram is always saved as a separate (child) page. What you want is basically a diagram macro that stores the diagram content (XML) inline:
text before
{{diagram}}
... XML of diagram here ...
{{/diagram}}
text after
The Diagram Application doesn’t provide this ATM.
Yes, because the free version is not recommended (maintained). But you can adjust the search filter in the Extension Manager to include un-recommended extension (be aware of the risk though).