robregonm, on 04 December 2012 - 11:39 AM, said:
Hi Trinh,
Two things:
1. Are you using an extension for creating ckeditor? or are you creating manually?
2. If you are using a certain extension, please post to the creator of the extension. Otherwise, could you please post more details about the bug. It is not clear enoght of what is going on (at least for me).
Regards.
I'm using CKeditor as an extension and this is the way I'm using it
<?php $this->widget('application.extensions.fckeditor.FCKEditorWidget',array(
'model' => $model,
'attribute' => 'hotel_promotion_info',
'height' => '600px',
'width' => '100%',
'fckeditor' => dirname(Yii::app()->basePath).'/fckeditor/fckeditor.php',
'fckBasePath' => Yii::app()->baseUrl.'/fckeditor/')
); ?>
I've followed the instruction
here.
The problem is it's very difficult to adjust the column's width. In MS Word you can adjust every column's width. Here with CKeditor you can just adjust the width of whole table. Very often the width of every column on the website looks bigger than it when we're editing.
Here is the picture in editor mode: (first I created table from MSWord editor than copied to CKEditor)
table1.PNG (36.92K)
Number of downloads: 1
Here is the picture of that table in website after I published it. It looks bigger too much.
table2.PNG (9.89K)
Number of downloads: 1
Now another problem. The table created from CKEditor has no border (even I chosen border size)
Please see the difference in 2 pictures below:
table3.PNG (32.86K)
Number of downloads: 1
table4.PNG (2.62K)
Number of downloads: 0
That is it.
Thank you for replying!
Regards