Details
-
Suggestion
-
Resolution: Unresolved
-
None
Description
Issue Summary
Originally suggested on https://community.developer.atlassian.com/t/can-we-listen-to-our-own-macro-removal-events-in-page-edit/47073
We are trying to render a component in a webpanel by specifying some conditions for it such that, the component should only render if a content property exists or is truthy.
We can set this content property key value to true upon inserting the macro to the page but if the macro is being remove from the page during Page edit, we need to unset or set the content property value to false so the conditions would work in our favour.At the moment, I don’t see any way of listening to events when a macro is removed from the page.
Steps to Reproduce
1. No known webhook exists for listening to when a Macro is removed from a page in page edit mode.
Expected Results
To be able to listen to events fired when a macro is removed from a page.
Actual Results
Unable to listen or know when a macro was removed from a page
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available