配置文件中的yii2 imperavi小部件设置

时间:2016-03-10 13:22:19

标签: yii2 redactor

如何在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'
                ],
            ],
        ],

不起作用。

0 个答案:

没有答案