Simon Urli this doesn't look like a WYSIWYG / CKEditor issue. From what I can see, the JIRA macro is using async rendering, meaning that there is an additional HTTP request needed to fetch the macro output. I can see this request made in view mode, but I don't see it made when entering in-place edit mode. This suggests that either the async rendering or the JIRA macro itself doesn't listen to xwiki:dom:updated event triggered by the WYSIWYG editor after the macro is inserted. So JIRA macros that are inserted dynamically, after the page is loaded, are not activated. Their output remains empty so the WYSIWYG editor has to display the placeholder.
Note that the Document Tree macro behaves correctly. It doesn't use async rendering but is also dynamic in the sense that it is empty initially, and then its content is fetched asynchronously. It listens to xwiki:dom:updated to activate the document tree instances lazy loaded.
Marius Dumitru Florea on 16/Jul/25 14:47
[~surli] this doesn't look like a WYSIWYG / CKEditor issue. From what I can see, the JIRA macro is using async rendering, meaning that there is an additional HTTP request needed to fetch the macro output. I can see this request made in view mode, but I don't see it made when entering in-place edit mode. This suggests that either the async rendering or the JIRA macro itself doesn't listen to {{xwiki:dom:updated}} event triggered by the WYSIWYG editor after the macro is inserted (or when entering in-place edit mode). So JIRA macros that are inserted dynamically, after the page is loaded, are not activated. Their output remains empty so the WYSIWYG editor has to display the placeholder.
Note that the Document Tree macro behaves correctly. It doesn't use async rendering but is also dynamic in the sense that it is empty initially, and then its content is fetched asynchronously. It listens to {{xwiki:dom:updated}} to activate the document tree instances lazy loaded.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.