tinymce

16 views
Skip to first unread message

Karl Arunachal

unread,
Jul 26, 2013, 2:00:32 PM7/26/13
to django...@googlegroups.com
Hi,
I want to integrate tinymce in my text area. But i can't find any good tutorials for it. Can some someone please advice me how to do this.
Thank you.

Bill Freeman

unread,
Jul 26, 2013, 2:27:09 PM7/26/13
to django-users


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Karl Arunachal

unread,
Jul 28, 2013, 12:53:13 AM7/28/13
to django...@googlegroups.com
Hello,
I am not able to use the tinymce editor in my flat pages.
My tinymce is in this dir:
C:\Users\Kakar\Downloads\Compressed\tinymce\js\tinymce\tinymce.min.js

And in my template dir i have another admin folder for 'change_form.html', just below this line:

<script type="text/javascript" src="{% url 'admin:jsi18n' %}"></script>

i have added this line for tiymce:

<script type="text/javascript" src="/tinymce.min.js"></script>
<script type="text/javascript">
tinyMCE.init({
mode: "textareas",
theme: "simple"
});
</script>

In my urls.py, i have added:

(r'^tiny_mce/(?P<path>.*)$', 'django.views.static.serve', {'document_root':'C:/Users/Kakar/Downloads/Compressed/tinymce/js/tinymce'}),

Please, point me out, where am doing wrong. I am learning from a book 'Practical Django Projects'.

Thank you.
Reply all
Reply to author
Forward
0 new messages