Yoosuf
Yoosuf

Reputation: 892

Using TinyMCE in Yii conflicting with JQuery

I created a tinyMCE widget for my Yii Form as shown by the code below,

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

Although it works perfectly and inserts records to the database too, the JQuery used on my menu bar does not function because of this. If I remove this widget, then the menu bar works correctly.

Upvotes: 3

Views: 2302

Answers (1)

user133408
user133408

Reputation:

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

Upvotes: 2

Related Questions