Jump to content

FAQ Accorian (collapse) in CMS page


Ray UK

Recommended Posts

Hi,

How can I make a bootstrap accordian in the CMS page.

I have the code but when I enter it, then editor removes the 'data-target'  'data-toggle' etc. 

The "isClean" function doesnt seem to be the bit that removes this.

 

This code

<button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> Collapsible Group Item #1 </button>

is changed to

<button class="btn btn-link" type="button"> Collapsible Group Item #1 </button>

upon saving.

Any ideas ?

 

Thanka

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...