Hi there,
I’ve followed directions on redactor’s github page and confirmed that yii2-redactor exists in the vendor/yiidoc folder, web.php has been updated and I’ve tried using
<?= $form->field($item, ‘times’)->widget(\yii\redactor\widgets\Redactor::className()); ?>
as well as doing:
use yii\redactor\widgets\Redactor
with
<?= $form->field($item, ‘times’)->widget(Redactor::className()); ?>
but I just keep getting
Class ‘yii\redactor\widgets\Redactor’ not found
I’m sure I’m missing something really simple but can’t for the life of me figure out what else I need to change.
Thanks for your help