I want two ckeditor in the same page -
i use ckeditor want use 2 ckeditor in same page
<form method="post" action=""> <textarea name="repondre" id="repondre" style="width:100%" rows=2 cols=40></textarea> <input type="submit" value="répondre" name="submitcomment"/><br/> </form> <script> ckeditor.replace( 'repondre', { height: 50, customconfig : '/editor/custom/basic_config.js' }); </script>
and second form
<form method="post" action=""> <textarea name="comment" id="comment" style="width:100%" rows=2 cols=40></textarea> <input type="submit" value="répondre" name="submitcomment"/><br/> </form> <script> ckeditor.replace( 'comment', { height: 50, customconfig : '/editor/custom/full_config.js' }); </script>
but it's doesn't work because have firt form appear
thank :)
the easiest way use jquery adapter (you have add plugin too).
Comments
Post a Comment