中心的な問題は、 と の処理がwagtail
RichTextField
テンプレートStreamField
で根本的に異なることです。
私は次のようなことを達成しようとしています:
{% with post=post.specific %}
{% if post.content_type == 'streamfield' %}
{% include_block post.body %}
{% else %}
{{ post.body|richtext }}
{% endif %}
{% endwith %}