I've created a user marco to display some HTML content created by a javascript function. But as soon as I insert this user marco into a page, the content following this user marco will not be shown anymore.
Here's the configuration of the user macro:
The javascript function puts the content into the shown div "Liste". So there shouldn't be a problem with non-closed HTML-tags?!
Can anybody give me a hint, what I'm doing wrong here?
My guess is that the CSS of Alfresco is interfering with Confluence's CSS. Your best bet would probably be to insert the content inside of an iframe.
If you don't want to do that, you could look inside the Developer tools for the text "Testcontent" in the "Elements" tab, and it should show you where it is located on the page (it might be hidden behind some part of the imported Alfresco content), and you may have to adjust the Alfresco CSS as necessary.
I've checked the whole HTML content of the page via the console, but I can't find the text "Testcontent". So it seems this text isn't rendered at all.
I've also checked the CSS for any Alfresco stylesheets, but there aren't any on this page. We only import content from Alfresco, but no stylesheets.
But one thing is notable: When I reload the page, for a short moment I can see the Text "Testcontent", which then seems to be overwritten by the content provided by the user macro.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mathias,
Do you get any errors in the browser console?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.