Hi. Can I ask for simple explanation of how to set the editor size? What I really don't understand is how to use the Javascript settings.
The How To page says to use the following to set the editor size on the fly:
// Set editor width to 100% and height to 350px.
editor.resize( '100%', '350' )
Where do I put this in the code below to affect the editor size?
<textarea id='newsletter_description' name='newsletter_description' rows='8' cols='137' >TEXT</textarea>
?>
<script type="text/javascript">
//<![CDATA[
CKEDITOR.replace( 'newsletter_description',
{
skin : 'office2003'
});
//]]>
</script>
<?
The How To page says to use the following to set the editor size on the fly:
// Set editor width to 100% and height to 350px.
editor.resize( '100%', '350' )
Where do I put this in the code below to affect the editor size?
<textarea id='newsletter_description' name='newsletter_description' rows='8' cols='137' >TEXT</textarea>
?>
<script type="text/javascript">
//<![CDATA[
CKEDITOR.replace( 'newsletter_description',
{
skin : 'office2003'
});
//]]>
</script>
<?
Re: Please help a newbie set the editor size
Re: Please help a newbie set the editor size
<script type="text/javascript">
//<![CDATA[
CKEDITOR.replace( 'newsletter_description',
{
skin : 'office2003',
width : '100%',
height : '350px'
});
//]]>
</script>