How are Copy Paste of Macros handled in Confluence Cloud

Hi,

In our addon, we store all data associated to the macro in our Addon server thru REST calls and store a unique identifier as Macro parameter. We use the Macro parameter to identify the Macro and provide users with the appropriate response.

When Macro is copied and pasted in a page , the new macro has the same macro parameters as the old macro, as result the second macro acts as link ( All changes on copied macro affects the original and vice versa ) instead of duplicate.

Is there any way to identify copy and paste action to handle the scenarios better ?

2 Likes