Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WYSIWYG in blog posts. #77

Open
jherrlin opened this issue Sep 25, 2015 · 8 comments
Open

WYSIWYG in blog posts. #77

jherrlin opened this issue Sep 25, 2015 · 8 comments
Assignees

Comments

@jherrlin
Copy link

With WYSIWYG you can add code snippets or other HTML in the blog post.
Maybe django-tinymce?
https://github.com/aljosa/django-tinymce

@ameistad
Copy link
Contributor

I don't think we need this as we already have markdown support for the blog.

@jherrlin
Copy link
Author

Okey, cool!
Have never seen or used that lib.

@SanketDG
Copy link
Member

@jherrlin What you right in this comment boxes is basically markdown.

Take a look

@SanketDG
Copy link
Member

With markdown support, we really dont need a WYSIWYG editor.

@coolharsh55
Copy link
Contributor

@SanketDG @ameistad unless I'm missing something, I do not see markdown support for Post.body in admin.py nor in models.py. So how would it have markdown enabled?

@ameistad
Copy link
Contributor

@coolharsh55, markdown is rendered in template tags.

@coolharsh55
Copy link
Contributor

Ok, but the widget in admin is rendered as a normal TextField. We can use a markdown editor such as pagedown or markdownx to get markdown WYSIWYG in the admin.

@ameistad
Copy link
Contributor

markdownx looks good. I'll look into this.

@ameistad ameistad self-assigned this Sep 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants