I
I
IvanMogilev2020-06-06 15:02:00
Yii
IvanMogilev, 2020-06-06 15:02:00

How to insert Imperavi Redactor default value?

Hello, I use Imperavi Redactor , I save the text in the database, I can’t find anywhere how to insert an existing default text when loading the page, thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2020-06-09
@IvanMogilev

echo $form->field($model, 'content')->widget(Widget::className(), [
     'options' => [
         'value' => '123'
     ]
])

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question