font-smoothing: antialiased; }'
    }

    // check current theme is light or dark 
    const theme = document.documentElement.getAttribute('data-bs-theme');
    if (theme === 'dark') {
      options.skin = 'oxide-dark';
      options.content_css = 'dark';
    }

    hugeRTE.init(options);
  })
</script>
{% endremoveemptylines %}
{% endcapture -%}

{%- capture_script %}
{{ script }}
{% endcapture_script %}
{% endremoveemptylines %}
