Hi guys, im trying to use the Tiny MCE editor in my FlatPages, but the Editor dont appear and the css of the add form in flatpage is broken.
im using in this way:
url.py
(r'^tiny_mce/(?P<path>.*)$','django.views.static.serve',{'document_root': 'e:/wamp/www/diligencia/src/tiny_mce/jscripts/tiny_mce/'}),
template:
template overriding : templates/admin/flatpages/flatpage/change_form.html
code in my template change_form.html
<script type="text/javascript" src="/tiny_mce/tiny_mce.js/"></script>
<script type="text/javascript">
tinyMCE.init({
mode: "textareas",
theme: "simple"
});
</script>
i want to know where is the problem :(
Thanks Regards, Asinox