I need to increase the heigh of FCK Text Editor. Here is the code I have:
<tr>
<td colspan="2" align="left" valign="middle">
<textarea name="text" id="text" >
<?php echo $curnote;?>
</textarea>
</td>
</tr>
<script type="text/javascript">
CKEDITOR.replace( 'text', { width:'90%' } );
</script>
If I am putting { width:'90%', height:'90%' }
, it's Not working.
Can you please suggest me to overcome this issue? Please
In config.js file add following code.
CKEDITOR.editorConfig = function( config )
{
config.height = '500px'; // here give your desired height value
};
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.