Reposting this from https://community.developer.atlassian.com/t/how-to-override-macrobrowser-postpreview-function/49942
Hi all, I am currently modifying the Mermaid Macro Plugin on Confluence Server such that users can input the diagram code directly in the macro browser dialog. I’ve accomplished this part but now the preview does not show the diagram.
I know I need to override the “postPreview” function but I can’t seem to find any examples on how. Would really appreciate any help. Thanks!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.