Hello! A bit late, but if you still need a way to achieve the same thing and don’t want to wait until the next LTS, you can use the code below to detect when a macro is in edit mode or not ```
Hello! A bit late, but if you still need a way to achieve the same thing and don’t want to wait until the next LTS, you can use the code below to detect when a macro is in edit mode or not ``` {code:java} @Inject private ScriptContextManager scriptContextManager;