初学编程,没有经验,请教大家。
我们平时写博客的时候,都是有所见即所得工具帮忙,然后将文章存进数据库。
我有如下疑问:
怪我咯2017-04-17 13:00:20
I used a visual editor before http://rsj217.diandian.com/post/2013-09-14/40053589622
Simple and hassle-free. But now the markdown visual editor seems to be more popular.
To put it simply, model can provide a field to save labeled text. As for adding tags, leave it to the editor. The front desk will display it according to the needs.
怪我咯2017-04-17 13:00:20
Here you need a rich text editor, which has nothing to do with Django's model. The model accepts plain text, and the editor and content rendering are both on the front end.
伊谢尔伦2017-04-17 13:00:20