Answer the question
In order to leave comments, you need to log in
Widget vova07/yii2-imperavi-widget not showing?
Everything according to the guide https://github.com/vova07/yii2-imperavi-widget.
composer.json :
",
"source": " https://github.com/yiisoft/yii2 "
},
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0 ",
"yiisoft/yii2": ">=2.0.5",
"yiisoft/yii2-bootstrap": "*",
"yiisoft/yii2-swiftmailer": "*",
"vova07/yii2-imperavi-widget": "*"
},
view :
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use vova07\imperavi\Widget;
?>
<div class="portfolio-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'content_ru')->widget(Widget::classname(), [
'settings' => [
'lang' => 'ru',
'minHeight' => 300,
'pastePlainText' => true,
'buttonSource' => true,
'plugins' => [
'clips',
'fullscreen'
],
]
]);?>
Answer the question
In order to leave comments, you need to log in
Do you have Asset Bundles enabled?
I had this after connecting Grunt - you just need to add a js / css editor to Grunt.
Had the same problem. If you load the page with an Ajax request, you need to call the renderAjax method in the controller instead of renderPartial.
Similar issue: https://github.com/kartik-v/yii2-widget-select2/is...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question