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).

http://docs.ckeditor.com/#!/guide/dev_jquery


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -