Edit posts in original markdown syntax

This commit is contained in:
Mouse Reeve
2021-10-14 18:34:26 -07:00
parent 01911d3b23
commit af567ba05e
5 changed files with 33 additions and 2 deletions

View File

@ -16,5 +16,5 @@ draft: an existing Status object that is providing default values for input fiel
placeholder="{{ placeholder }}"
aria-label="{% if reply_parent %}{% trans 'Reply' %}{% else %}{% trans 'Content' %}{% endif %}"
{% if not optional and type != "quotation" and type != "review" %}required{% endif %}
>{% if reply_parent %}{{ reply_parent|mentions:request.user }}{% endif %}{% if mention %}@{{ mention|username }} {% endif %}{{ draft.content|default:'' }}</textarea>
>{% if reply_parent %}{{ reply_parent|mentions:request.user }}{% endif %}{% if mention %}@{{ mention|username }} {% endif %}{% firstof draft.raw_content draft.content '' %}</textarea>