如何在config / web.php中设置yii2-imperavi-widget(vova07)设置?在“组件”或“模块”数组中?
尝试'组件':
'imperavi' => [
'class' => 'vova07\imperavi\Widget',
'settings' => [
'lang' => 'ru',
'removeWithoutAttr' => [],
'minHeight' => 300,
'pastePlainText' => true,
'buttonSource' => true,
'replaceDivs' => false,
'plugins' => [
'clips',
'fullscreen',
'fontfamily',
'fontsize',
'fontcolor',
'video',
'table'
],
],
],
不起作用。