Project / Support Center
Welcome, Guest. Please login or register. October 03, 2023, 05:33: AM
Home Help Search Login Register
D-Web Web Site Creator D - Web Web Site Creator On-line HTML Editor No Programming knowledge required. Web Global Net PayPal-Cart Shopping Cart System PayPal - Kart Shopping Cart System for E-Commerce over the internet, that's easy to use. Web Global Net Newsletter Manager Newsletter Manager On-line Newsletter Creator with Email Subscriber Management.
Ring Central Discount
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  FCK/CKEditor  |  Topic: Adjusting the size of the ckEditor edit field 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Send this topic Print
Author Topic: Adjusting the size of the ckEditor edit field  (Read 22311 times)
admin
Guest
« on: September 02, 2010, 04:34: PM »

many people incorrectly place the ckeditor width and height into the config.js file. Doing this controls all the uses of the ckeditor on your site.

The better way is to place this information below the textarea with the ckfinder information like this :

<textarea name="assoc_reg_notes" cols="50" rows="5"><?php echo $row_rsaccounts_message['assoc_reg_notes']; ?></textarea><script type="text/javascript">
CKEDITOR.replace( 'assoc_reg_notes',
{
toolbar : 'column'

});
</script><script type="text/javascript">
   CKEDITOR.config.filebrowserBrowseUrl = 'ckeditor/ckfinder/ckfinder.html';
   CKEDITOR.config.filebrowserImageBrowseUrl = 'ckeditor/ckfinder/ckfinder.html?type=Images';
   CKEDITOR.config.filebrowserFlashBrowseUrl = 'ckeditor/ckfinder/ckfinder.html?type=Flash';
   CKEDITOR.config.filebrowserUploadUrl = 'ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files';
   CKEDITOR.config.filebrowserImageUploadUrl = 'ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images';
   CKEDITOR.config.filebrowserFlashUploadUrl = 'ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash';
   CKEDITOR.config.colorButton_enableMore=true;
CKEDITOR.config.width ='350px';
CKEDITOR.config.height='500px';

/*CKEDITOR.config.skin = 'office2003';*/
/*CKEDITOR.config.skin = 'v2';*/
CKEDITOR.config.skin = 'kama';
</script>

Doing it this way makes it very easy to control the width and height on a per instants basis
Report to moderator   Logged
Pages: [1] Go Up Send this topic Print 
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  FCK/CKEditor  |  Topic: Adjusting the size of the ckEditor edit field « previous next »
Jump to:  


Login with username, password and session length
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!