Modules Disappearing After Edits in Editor

Hi @JTBuys , that code is the same exact code as the textElementBANNER macro listed at the top of the included code. The only difference is that the STL_macros.textElement macro exists in a separate file containing only macros that is being loaded in via an ‘includes’ statement at the top of the current file, as such:

{% import "/STL_Accenture_Theme_2024/templates/STL_modulepartials.html" as STL_macros %}
{{ require_css(get_asset_url('../../../css/STL_variants.css')) }} 
{% require_css %}
<style>
 .blog_events-post_banner {
 ...
 }
 ...
</style>
{% end_required_css %}