Closed lgXenos closed 7 years ago
Sorry. Problem in JavaScript :) Editor already init on this element and not run again
if(window.tinyMCE !== undefined && tinyMCE.editors.length){
for(e in tinyMCE.editors){
tinyMCE.editors[e].destroy();
}
}
Use ActiveForm on CRUD in Yii2
$form->field($model, 'main_text_promo')->widget(\dosamigos\tinymce\TinyMce::className());
TinyMce configured at bootstrap.php