nkhanna24 Posted April 25, 2013 Share Posted April 25, 2013 Hey guys I am using imperavi-redactor-widget and i am having problem with toolbar Yii::import('ext.imperavi-redactor-widget.ImperaviRedactorWidget'); $this->widget('ImperaviRedactorWidget', array( // you can either use it for model attribute 'model' => $model, 'attribute' => 'description', // or just for input field 'name' => 'description', // some options, see http://imperavi.com/redactor/docs/ 'options' => array( 'lang' => 'en', //'toolbar' =>'' , 'iframe' => true, 'buttons'=>array( 'formatting', '|', 'bold', 'italic', 'deleted', '|', 'unorderedlist', 'orderedlist', 'outdent', 'indent', '|', 'image', 'video', 'link', '|', 'html', ), 'css' => 'wym.css', ), 'plugins' => array( 'fullscreen' => array( 'js' => array('fullscreen.js',), ), 'clips' => array( // You can set base path to assets 'basePath' => 'application.components.imperavi.my_plugin', // or url, basePath will be ignored //'baseUrl' => '/js/my_plugin', 'css' => array('clips.css',''), 'js' => array('clips.js',), // add depends packages 'depends' => array('imperavi-redactor',), ), ), )); It is showing only 1 button, in this case 'formatting' button. and onchange function doesnot seems to be wroking on this ?any ideas?Thanks Link to comment Share on other sites More sharing options...
Larry Posted April 26, 2013 Share Posted April 26, 2013 I've not used this widget, so unfortunately I don't have an answer for you offhand. You might have better luck in the Yii support forums. Link to comment Share on other sites More sharing options...
Recommended Posts