We have a component (conditionsContainer) that is only ever used by embedding it in other components. We would like to disable the context menu for this conditionsContainer component, so that it cannot be removed.
Currently, we prohibit deletion of the conditionsContainer component with the use of a beforedelete event listener that returns false. For obvious UX reasons, however, we would like to remove the ability to click delete. Using the edit bar (which can be customized without a delete button) is not an option.
How can this be achieved?