[Django]-How to truncate content for Mdeditor (content as markdownx) – Django

0👍

I found the solution.

I used this in my template:

<div id="content"><textarea> {{blog_post.content|truncatechars_html:500}} </textarea></div>

Leave a comment