...
Right now it is problematic to get the context from there because of the nesting, so can we use other conditions to display?
The main question is: Is there any existing solution : what is the best approach to add those actions without refactoring the code around _studio_wrap_xblock
The mocked actions (always set to True) were added in the PR: https://github.com/raccoongang/edx-platform/pull/2494/files#diff-fcd65c5bab25478ab25e92d58b53a090ec0141ef462e24bd88052917dba52cafR105
Additional context
Existing implementation (legacy studio) notes
...