$this->registerJsFile(Yii::getAlias('@web') . '/js/form.js', ['depends' => [yii\web\JqueryAsset::className()]]);
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
echo $form->field($model, 'content')->widget(Widget::className(), [
'value'=>'123',
'settings' => [
'lang' => 'ru',
'imageUpload' => Url::to(['/admin/image-upload']),
'minHeight' => 200,
'plugins' => [
'fullscreen',
'imagemanager',
'filemanager'
],
],
]);