I've 2 forms within same page and both forms have "description" textarea field. I'm trying to load editor for both description fields but some how editor for second description field get blank and contents of second description merge with first description textarea.
Following is the code:
By initializing editors for 2 separate classes, contents for second description field merge with first one and editor for class "editor2" get blank.
Following is the code:
<form id="form1"> <textarea id="description" name="description" class="editor1"></textarea> </form> <form id="form2"> <textarea id="description" name="description" class="editor2"></textarea> </form> <script type="text/javascript"> $(document).ready(function() { $("textarea.editor1").ckeditor(); $("textarea.editor2").ckeditor(); }); </script>
By initializing editors for 2 separate classes, contents for second description field merge with first one and editor for class "editor2" get blank.
Re: editor conflict using jquery adapter