Hy
I have a problame, i want to use TinyMce but I can not set the width of the texteditor area.
Any idea??
I use this one: http://www.yiiframework.com/extension/tinymce/
Hy
I have a problame, i want to use TinyMce but I can not set the width of the texteditor area.
Any idea??
I use this one: http://www.yiiframework.com/extension/tinymce/
Hi
Just change value in cols to be as you like
$this->widget('ext.tinymce.TinyMce', array(
'model' => $model,
'attribute' => 'tinyMceArea',
// Optional config
'compressorRoute' => 'tinyMce/compressor',
//'spellcheckerUrl' => array('tinyMce/spellchecker'),
// or use yandex spell: http://api.yandex.ru/speller/doc/dg/tasks/how-to-spellcheck-tinymce.xml
'spellcheckerUrl' => 'http://speller.yandex.net/services/tinyspell',
'fileManager' => array(
'class' => 'ext.elFinder.TinyMceElFinder',
'connectorRoute'=>'admin/elfinder/connector',
),
'htmlOptions' => array(
'rows' => 6,
'cols' => 60,
),
));
Hello
I use css width height and its work properly in all the broswers. see the code below
$this->widget('ext.tinymce.TinyMce', array(
'model' => $model,
'attribute' => 'tinyMceArea',
'compressorRoute' => 'tinyMce/compressor',
'spellcheckerUrl' => 'http://speller.yandex.net/services/tinyspell',
'fileManager' => array(
'class' => 'ext.elFinder.TinyMceElFinder',
'connectorRoute'=>'admin/elfinder/connector',
),
'htmlOptions' => array(
'style' => 'width:300px',
),
));