Using TinyMCE in Yii conflicting with JQuery

I have created tinyMCE widget for my Yii form as shown below,

 $this->widget('application.extensions.tinymce.ETinyMce',
      array(
           'model'=>$model,
           'attribute'=>'labExaminationDetails',
           'editorTemplate'=>'full',
           'htmlOptions'=>array('rows'=>6, 'cols'=>50, 'class'=>'tinymce')      
      )
); 

      

While it works fine and inserts records into the database, the jQuery used in my menu bar doesn't work because of this. If I remove this widget, the menu bar works correctly.

+3


source to share


1 answer


Okay, got it. The TinyMCE version in jquery is not bootstrap menu compatible. The workaround is to use the non-jquery tineMCE. Check the issue here: https://github.com/twitter/bootstrap/issues/3620



+2


source







All Articles