开发者

Django Markdown or WYSIWYG editor

I have user generated context that extends mult开发者_JAVA百科iple paragraphs. I'd like to enable the user to create paragraphs, possibly change font-weight, but nothing too huge.

I've seen a tutorial which uses the Python-Markdown module. Would anyone recommend this or should I just go with a WYSIWYG plugin? I've seen plugins for the admin but have not yet seen it applied to a general Django template.

Thanks Brendan


I have used django tiny-mce with tinymce in my comment app and is working. Defining plugins for this WYSIWYG editor is easy and comes only to specifying name of plugin in settings.py and JS file.


MarkItUp! editor can help http://markitup.jaysalvat.com/ It have many rich features, includes django model class MarkupField(models.TextField), JS-settingynized editor's toolbar, etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜