Hi!
I'm using CKEditor 3.3 and want to display 3 editors on a page.
I'm using JQuery tabs, one editor per tab.
The issue I'm having is that only the first tab's editor displays, while the other two do no show. Only the submit button shows up.
Any help is welcome!
I'm using CKEditor 3.3 and want to display 3 editors on a page.
I'm using JQuery tabs, one editor per tab.
The issue I'm having is that only the first tab's editor displays, while the other two do no show. Only the submit button shows up.
<div id="tabs">
<ul>
<li><a href="#articles">Articles</a></li>
<li><a href="#case">Case Studies</a></li>
<li><a href="#pres">Presentations</a></li>
</ul>
<form name="change" method="post">
<div id="articles">
<textarea name="content_articles">
<?php
if(!empty($article))
echo $article;
else
echo stripslashes($_POST['content_articles']);
?>
</textarea>
<script type="text/javascript">
var editor_1 = CKEDITOR.replace('content_articles',
{
toolbar: 'Compact'
});
CKFinder.setupCKEditor( editor_1, '../ckfinder/' );
</script>
<br />
<input type="submit" name="submit_articles" value="Submit Articles" />
</div>
<div id="case">
<textarea name="content_case">
<?php
if(!empty($case))
echo $case;
else
echo stripslashes($_POST['content_case']);
?>
</textarea>
<script type="text/javascript">
var editor_2 = CKEDITOR.replace('content_case',
{
toolbar: 'Compact'
});
//CKFinder.setupCKEditor( editor_2, '../ckfinder/' );
</script>
<br />
<input type="submit" name="submit_case" value="Submit Case Studies" />
</div>
<div id="pres">
<textarea name="content_pres">
<?php
if(!empty($pres))
echo $pres;
else
echo stripslashes($_POST['content_pres']);
?>
</textarea>
<script type="text/javascript">
var editor_3 = CKEDITOR.replace('content_pres',
{
toolbar: 'Compact'
});
//CKFinder.SetupCKEditor( editor_3, '../ckfinder/' );
</script>
<br />
<input type="submit" name="submit_pres" value="Submit Presentations" />
</div>
</form>Any help is welcome!

Re: Multiple Editors Issue
I'm using FF 3.6.3 and checked also on Safari Version 5.0 (5533.16).
Is this an issue that's being tracked??
Re: Multiple Editors Issue
I just want to know if it's perhaps something I've overlooked.
Re: Multiple Editors Issue
Yes, the skins demo at http://ckeditor.com/demo works fine for me with Firefox 3.6
Re: Multiple Editors Issue
I guess it's something I've done to cause the issue. Thank you again.
Re: Multiple Editors Issue
Any ideas what I'm doing incorrectly??
CKEDITOR.addStylesSet( 'custom_styles', [ // Inline Styles { name : 'Title', element : 'span', attributes : { 'class' : 'title' } } ]); config.stylesCombo_stylesSet = 'custom_styles';