Yii2 imperavi redactor strip tags in HTML mode

Hi there.
yii2 imperavi redactor strips tags in HTML mode, anyone knows how can i disable that feature?

There are at least 4 packages with that name. Which one are you using?

“asofter/yii2-imperavi-redactor”: “dev-master@dev”,

As i seem imperavi redactor use many html replacements during events. Seems there is no option to cancel tags stripping.

This seems to be a known bug: https://github.com/asofter/yii2-imperavi-redactor/issues/59

The library doesn’t seem to have been updated since 2017… you may want to consider a more active alternative.

                <?php echo $form->field($atModel, 'article_content')->widget(\vova07\imperavi\Widget::class, [
                    'settings' => [
                        'lang' => \Yii::$app->language,
                        'minHeight' => 250,
                        'imageManagerJson' => \yii\helpers\Url::to(['/service/articles/images-get']),
                        'imageUpload' => \yii\helpers\Url::to(['/service/articles/image-upload']),
                        'plugins' => [
                            'counter',
                            'definedlinks',
                            'fontcolor',
                            'fontfamily',
                            'fontsize',
                            'fullscreen',
                            'imagemanager',
                            'limiter',
                            'table',
                            'video',
                        ],
                        // Should be used only one of this: 'allowedTags' or 'deniedTags'
                        // 'allowedTags' => false, // default: false
                        'deniedTags' => [], // default: ['script', 'style']
                    ],
                ]);
                ?>

By default, (for security purpose) Imperavi Redactor is stripping tags and , but he left content of this tags on the page.
As a result - page look bad (.
Add option ‘deniedTags’ and don’t define ‘AllowedTags’ - this will help to preserve and tags untouched.

Good luck and Peace all!