Open ane-gabriela opened 5 months ago
This happens only when using inline editing mode, and it's not only for the first time you add a diagram macro (that links to a diagram with links), but every time you inline edit a page with such diagrams. Basically, the view you had in edit mode, with a diagram image instead of the actual diagram, is preserved until you refresh the page. From what I understand, this is the expected behavior, since inline editing tries to transition from edit to view smoothly. @mflorea can you confirm this is the expected behavior, or should I look more into it?
Steps to reproduce:
Create a diagram "Diagram-1"
Add some shapes
In one or 2 of the shapes add some text
Select a word and link it to another page in the wiki
Select another word and link it to an external URL
Create a new simple page
Edit it and click on Insert > Other Macros
Search for Diagram Macro
In the "Reference" Field type the name of the existing diagram page (e.g. Diagram.Diagram-1.WebHome)
Uncheck "Cached"
Click Submit
Click on Save & View
Expected results: The diagram appears with the selected links.
Actual results: The diagram appears with no links, the user needs to refresh the page 1or 2 times to see the links.
After Save & View
After Refresh
Environment: Windows 11, Chrome 125, Cloud XWiki 15.10.8, Diagram Application (Pro) 1.20.4