Jump to content
Larry Ullman's Book Forums

Imperavi-Redactor-Widget Toolbar Not Working

Recommended Posts

Hey guys
 I am using imperavi-redactor-widget and i am having problem with toolbar 
$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,
      '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?


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...