@LaMind3 similar case has been addressed at https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-add-the-author-edit-mode-condition-in-sightly-htl-for/qaq-p/330826 please check.Also, as preview mode demands a page refresh, can use ${wcmmode.preview || wcmmode.edit} for y...