{% comment %} Unified BlockNote template supporting both edit and readonly modes. Context variables: - mode: 'edit' or 'readonly' - All existing widget/template_tag context variables {% endcomment %} {% if mode == 'readonly' and not has_content %}
📝
No content to display
{% else %}
{% if mode == 'readonly' %}
📖 Loading content...
Rendering rich text content
{% else %}
📝 Loading rich text editor...
If this persists, ensure {% templatetag openblock %} blocknote_full {% templatetag closeblock %} is included in your template.
{% endif %}
{% endif %}