I have a page with 3 instances of CKEditor but for same reason only the first and last see to work.
Here is the code snippet, but I cannot see any reason that middle textarea isn't replaced by CKEditor - can you?
Regards
Pete
<tr valign='top'>
<td class='label'><label for='headertext'><b>Blog header</b></label>
:<br />
Customise the Blog header, ASP code can be used within the header.</td>
<td class='details'><textarea id='headertext' name='headertext' rows='20'>
<h1>xxxxxx Wines</h1><h2>It is time to reclaim wine as something individual, pleasurable and occasionally extraordinary</h2>
</textarea>
<script type="text/javascript">CKEDITOR.replace( 'headertext' , {customConfig : '/blog/custom/ckeditor_config.js'}); </script>
</td>
</tr>
<tr valign='top'>
<td class='label'><label for='footertext'><b>Blog footer</b></label>
:<br />
Customise the Blog footer, ASP code can be used within the footer.</td>
<td class='details'><textarea id='footertext' name='footertext' rows='20'>
<span class="style4"><strong>5 Bedale Street</strong> - Borough Market - London SE1 9AL - 020 7403 8853 <br />
<strong>55 Leadenhall Market</strong> - London EC3V 1LT - 020 7929 3536 <br />
<strong>12 Market Street</strong> (off Brushfield Street) London E1 6DT - 020 7375 1926
</textarea>
<script type="text/javascript">CKEDITOR.replace( 'footertext' , (customConfig : '/blog/custom/ckeditor_config.js'}); </script>
</td>
</tr>
<tr valign='top'>
<td class='label'><label for='sidebar'><b>Sidebar content</b></label>
:<br />
Custom content that will appear at the bottom of the sub-content column.</td>
<td class='details'><textarea id='sidebar' name='sidebar' rows='20'><h1>
Les Routiers Listed</h1>
<p>
<br />
<a href="http://www.routiers.co.uk"><img alt="" src="images/les_routiers.png" /></a></p>
</textarea>
<script type="text/javascript">CKEDITOR.replace( 'sidebar' , {customConfig : '/blog/custom/ckeditor_config.js'}); </script>
</td>
</tr>
Fri, 03/26/2010 - 17:45
#1
Re: 2 instances out of 3 work!
Regards
Pete
Re: 2 instances out of 3 work!
Re: 2 instances out of 3 work!
I left out a semi-colon somewhere on mine once and it caused all sorts of problems with mulit instances on the same page.
-Nico