D
D
Dmitry Bay2015-03-17 20:12:57
Yii
Dmitry Bay, 2015-03-17 20:12:57

Imperavi removes tag, how to fix?

There is such an Imperavi config

'options'=>array(
                //'linebreaks'=>true,
                //'allowedTags'=> array('p','<br>'),
                'buttons'=>array(
                    'formatting' , '|', 'bold', 'italic', 'deleted', '|',
                    'unorderedlist', 'orderedlist', 'outdent', 'indent', '|',
                     'video', 'link','image',  'html',
                ),
                'replaceDivs'=>false,
                'lang'=>'ru',
                // 'rows'=> '15',
                'thumbLinkClass'=>'athumbnail', //Класс по-умолчанию для ссылки на полное изображение вокруг thumbnail
                'thumbClass'=>'thumbnail pull-left', //Класс по-умолчанию для  thumbnail
                'defaultUplthumb'=>true, //Вставлять по-умолчанию после загрузки превью? если нет - полное изображение
                'imageUpload' => $this->createUrl('news/imageupload'),
                'iframe' => true,
                'minHeight' => 500,
                'autoresize' => true,

                ),

With linebreaks enabled, it doesn't add , but adds the
tag as it should. And I need it to be added, and
too. how to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2015-05-06
@webinar

he does not add , but adds

What is it like?
So adds the same judging from the above
Your wording did not pass the firewall in my brain. Might break it, reformulate it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question