Did not find anything pertinent in https://documentation.bloomreach.com/library/concepts/channels/channel-manager-troubleshooting.html
Increasing log levels in localhost resulted in large logs with no relevant data when opening the page in the channel manager.
I accidentally found the solution by having a “Switch Template” and changing the component’s template via JCR console. One template would allow me to get the blue box with my component name & open the edit component dialog while the other mysteriously didn’t show any component outlines. Therefore, I isolated the problem to one of the FTL templates.
- one started with header
<h2>My Header</h2> => blue outline surrounded only the header
- the problem template had a
<script>...</script> block before visible markup
- the last template had a wrapper
<div>...</div> around the entire component => blue outline surrounded the entire component in the Channel Manager
- further experimentation proved
<@hst.headContribution>...</@hst.headContribution> is safe for “invisible” HTML elements. (wrap style/script blocks with hst:headContribution tags)
Conclusion: if a component renders in channel manager but doesn’t have a clickable “edit component” area, examine the template for the first HTML element - it should be visible to give a hover area & edit click functionality.