I'm trying to update my macro in the editor after a user has given some input for the macro parameters (can do this in the macro property panel). I tried to use the tinymce.confluence.MacroUtils.insertMacro(e,t) method, but it replaces the macro. My goal is that only the macro parameters are adjusted to the input. I found out that there exists the tinymce.confluence.MacroUtils.updateMacro(e,t,n,r) method, but I can't find any information about the needed parameters or a documentation on how to use it. Does someone know where I can find this information or has an example on how to use this method?
Thanks for any help.