Jump to content

Feature Request: CMS WYSIWYG Editor. Whitelist <A> attributes for bootstrap

Recommended Posts

I created a feature request at http://forge.prestashop.com/browse/PSCSX-5485 requesting that additional <a> attributes be whitelisted so that we could do things like create nav tabs using bootstrap from within the CMS content.


Here is an example that was stripped away

<ul class="nav nav-tabs">
  <li role="presentation" class="active"><a data-toggle="tab" href="#opt1">Option 1</a></li>
  <li role="presentation"><a data-toggle="tab" href="#opt2">Option 2</a></li>
  <li role="presentation"><a data-toggle="tab" href="#opt3">Option 3</a></li>
  <li role="presentation"><a data-toggle="tab" href="#opt4">Option 4</a></li>
  <li role="presentation"><a data-toggle="tab" href="#opt5">Option 5</a></li>
<div id="more_info_sheets" class="tab-content">
  <div id="opt1" class="tab-pane active fade in">
    <section class="panel panel-default">
      <div class="panel-heading">
        <h2 class="panel-title">Option 1 Title</h2>
  <div class="panel-body">
    <p>Option 1 Content</p>
  • Like 1
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...