Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Removing Div #59

Open
Hsidhu opened this issue Apr 8, 2017 · 0 comments
Open

Removing Div #59

Hsidhu opened this issue Apr 8, 2017 · 0 comments

Comments

@Hsidhu
Copy link

Hsidhu commented Apr 8, 2017

Hello,

When I try to insert div in code section and switch back to Html. It removes div tag.
I user following settings but didn't work
\yii\imperavi\Widget::className(), [ 'plugins' => ['fullscreen', 'fontcolor', 'video'], 'options' => [ "allowedTags" => ['div','p', 'h1', 'h2', 'h3', 'img', 'pre', 'span'], 'minHeight' => 400, 'maxHeight' => 400, 'replaceTags'=> false, 'structure' => true, 'buttonSource' => true, 'convertDivs' => false, 'replaceDivs' => false, 'removeEmptyTags' => true, 'imageUpload' => Yii::$app->urlManager->createUrl(['/file-storage/upload-imperavi']) ] ]
Allowtags and replace divs option didn't work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant