django-tynimce
Hi,
I am using this application, I am able to render the widget but when I am clicking save (tinymce button or html button) the POST form is sent but without the content of the textarea. Any one have some experience about it?
My config js is attached and the html rendered code is as follows:
----------------------
<table class="table">
<form method="POST" action="">
<div style='display:none'><input type='hidden' name='csrfmiddlewaretoken' value='ff9e58be24ff3807fce39286fdd2c033' /></div>
<tr class="row">
<td> Subject </td>
<td> <input id="id_subject" type="text" name="subject" size="110" /> </td>
</tr>
<tr class="row">
<td> Body </td>
<td> <textarea style="width:100%" rows="10" cols="40" name="body" id="id_body"></textarea>
<script type="text/javascript">tinyMCE.init({"relative_urls": false, "spellchecker_languages": "Spanish / Catalan=es,+English=en", "elements": "id_body", "language": "en", "directionality": "ltr", "theme": "advanced", "strict_loading_mode": 1, "mode": "exact"})</script> </td>
</tr>
<tr class="row">
<td> </td>
<td> <input type="submit" value="Save"> </td>
</tr>
</form>
</table>
----------------------
Thanks,
Xavi
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home