I'm currently in the process of writing some pages to convert them to templates, and I need to disable the class whitelist as I'm using a lot of building blocks of XF, as well as some Foundation CSS Framework.
Is there a way to do this for div's?
Printable View
I'm currently in the process of writing some pages to convert them to templates, and I need to disable the class whitelist as I'm using a lot of building blocks of XF, as well as some Foundation CSS Framework.
Is there a way to do this for div's?
This is dangerous from a security perspective, so no. Is there a reason that you cannot just add the needed classes to the whitelist? In the AdminCP, edit the DIV BB-Code, go to Wiki-Related Options > CSS Class White-List.
Yeah that works as well, will just need to compile a huge list of classes.
Added this pages CSS, and it seems to be working.Code:<div class="wiki-list">
<div class="row flex-dir-row-reverse dragon-template">
<div class="small-12 medium-12 large-4 columns wiki-block">
<div class="block-background">
<div class="key-information">
<div class="dragon-name heading">Runewake Dragon</div>
<div class="dragon-image">[img][/img]</div>
<div class="key-header">Vital Information</div>
<div class="information-lists">
<dl class="pairsJustified">
<dt>Level</dt>
<dd>Player Level</dd>
</dl>
<dl class="pairsJustified">
<dt>Zone</dt>
<dd>Marketplace</dd>
</dl>
<dl class="pairsJustified">
<dt>Family</dt>
<dd>Fabled Ancient</dd>
</dl>
<dl class="pairsJustified">
<dt>Running Speed</dt>
<dd>170%</dd>
</dl>
<dl class="pairsJustified">
<dt>Flight Speed</dt>
<dd>170%</dd>
</dl>
<dl class="pairsJustified">
<dt>Gliding Speed</dt>
<dd>170%</dd>
</dl>
<dl class="pairsJustified">
<dt>Title</dt>
<dd>Dawn of Auratia</dd>
</dl>
<dl class="pairsJustified">
<dt>Companion Support</dt>
<dd>20%</dd>
</dl>
</div>
</div>
</div>
</div>
<div class="small-12 medium-12 large-8 columns wiki-block main-column">
<div class="block-background">
<h4 class="heading">Dragon Description</h4>
<div class="secondaryContent">
The Runewake dragon is a member of the Fabled Ancient Dragon family. It is a Runewake Model dragon and is colored dark greyish-brown with a pink throat. It was given to players who had purchased the Dragon Lord Dragon pack that was released prior to open beta release. After the release of Open Beta, the Dragon Lord, Dragon Master, and Dragon Seeker packs were all removed and are no longer available for purchase.
</div>
<h4 class="heading">Dragon Compendium</h4>
<div class="secondaryContent">
"A Fabled Ancient Dragon brought into existence by the Creator himself. Its bright red eyes shine down upon everything in the world. The first Osirans to tame the Runewake Dragons were called the Light of Auratia. Without them the Auratia we know today would not exist. Osirans can't live forever, but Runewake Dragons can; establishing contracts with different Osirans throughout their lives, Runewake Dragons allow these fortunate few to inherit the title and continue to create legends."
</div>
<h4 class="heading js-expandmore">Quick Guide</h4>
<div id="quickGuide" class="js-to_expand">
<h3 class="subHeading">Location</h3>
<div class="secondaryContent">
<dl class="pairsJustified">
<dt>Zone Ancient</dt>
<dd>No</dd>
</dl>
<dl class="pairsJustified">
<dt>Dungeon Ancient</dt>
<dd>No</dd>
</dl>
<dl class="pairsJustified">
<dt>Roaming Ancient</dt>
<dd>No</dd>
</dl>
</div>
<h3 class="subHeading">Flutes</h3>
<div class="secondaryContent">
<dl class="pairsJustified">
<dt>Melodic / Resonating Flutes</dt>
<dd>No</dd>
</dl>
<dl class="pairsJustified">
<dt>Other Dragon Flutes</dt>
<dd>No</dd>
</dl>
</div>
<h3 class="subHeading">Marketplace</h3>
<div class="secondaryContent">wik
<dl class="pairsJustified">
<dt>Egg</dt>
<dd>Yes</dd>
</dl>
<dl class="pairsJustified">
<dt>Gotcha</dt>
<dd>No</dd>
</dl>
<dl class="pairsJustified">
<dt>Other Purchases</dt>
<dd>No</dd>
</dl>
</div>
<h3 class="subHeading">Other</h3>
<div class="secondaryContent">
<dl class="pairsJustified">
<dt>Special Process</dt>
<dd>No</dd>
</dl>
<dl class="pairsJustified">
<dt>Special Reward</dt>
<dd>No</dd>
</dl>
<dl class="pairsJustified">
<dt>Dragon Incubation</dt>
<dd>No</dd>
</dl>
</div>
</div>
</div>
</div>
</div>
</div>