Connecting Tinymce to Yii2
echo $form->field($model, $row['name'])->widget(TinyMce::className(), [ 'options' => ['rows' => 20], 'language' => 'ru', 'clientOptions' => [ 'plugins' => [ "advlist autolink lists link charmap print preview anchor", "searchreplace visualblocks code fullscreen", "insertdatetime media table contextmenu paste" ], 'toolbar' => "undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | responsivefilemanager link image media", 'external_filemanager_path' => '/admin/plugins/responsivefilemanager/', 'filemanager_title' => 'Responsive Filemanager', 'external_plugins' => [ //ΠΠΊΠΎΠ½ΠΊΠ°/ΠΊΠ½ΠΎΠΏΠΊΠ° Π·Π°Π³ΡΡΠ·ΠΊΠΈ ΡΠ°ΠΉΠ»Π° Π² Π΄ΠΈΠ°Π»ΠΎΠ³Π΅ Π²ΡΡΠ°Π²ΠΊΠΈ ΠΈΠ·ΠΎΠ±ΡΠ°ΠΆΠ΅Π½ΠΈΡ. 'filemanager' => '/admin/plugins/responsivefilemanager/plugin.min.js', //ΠΠΊΠΎΠ½ΠΊΠ°/ΠΊΠ½ΠΎΠΏΠΊΠ° Π·Π°Π³ΡΡΠ·ΠΊΠΈ ΡΠ°ΠΉΠ»Π° Π² ΠΏΠ°Π½Π΅Π»Π΅ ΠΈΡΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ². 'responsivefilemanager' => '/admin/plugins/responsivefilemanager/tinymce/plugins/responsivefilemanager/plugin.min.js', ], ] ]); And although I registered the image in the toolbar, the icon is not shown in the editor. There is only one mistake in the console.
GET http://dubno.w4u.com.ua/admin/news/edit/skin-config.html 404 (Not Found) Maybe because of her not working? Or what could be the problem?