formattingAdd not working
arun-maddheshia opened this issue · comments
$form->field($model, 'description')->widget(\yii\redactor\widgets\Redactor::className(), [
'clientOptions' => [
"minHeight" => 150,
"maxHeight" => 400,
"toolbarFixed" => true,
]
"formattingAdd" => [
"red-p-add" => [
"title" => 'Red Block Add',
"args" => ['p', 'class', 'red-styled'],
],
"blue-p-add" => [
'title' => 'Red Text',
//'tag' => 'p',
'class' => 'red'
]
],
]
]);
Hi @arun-maddheshia ,
I think you've confused the repository.
Please be aware that this is the extension for Yii 2
version.