Hi,
First of all: Great WYSIWYG!
I have som problem with my editor.
Sometimes, only sometimes, when I generate my editor I get a duplicate of the editor.
And I can't find a answer to this problem but I hope someone has.
Thanks in advance!
Some code:
<?php while() { echo(' <form> <script type="text/javascript" src="/pages/admin/ckeditor/ckeditor.js"></script> <script src="/pages/admin/ckeditor/sample.js" type="text/javascript"></script> <textarea class="ckeditor" cols="80" name="nyheter_msg'.$r['id'].'" id="nyheter_msg'.$r['id'].'" rows="10">'.stripslashes($r['msg']).'</textarea> <script type="text/javascript"> CKEDITOR.replace(\'nyheter_msg'.$r['id'].'\', { height:\'200\', width:\'400\' } ); </script> </form> '); }
Re: Multiple editors in my form gets duplicated
Dennis