When i enter HTML into redactor below it will strip out the first closing div and the second opening div leaving one col-md-6. It actually saves it as I have below but as soon as redactor is re-initialised it strips out the closing and opening tag in the middle again. This means no one can ever go in an edit the content as it will be a single column again once saved. Current setup of redactor is below and I have unchecked the clean HTML.
<div class="row">
<div class="col-md-6">
<p>One Col</p>
</div>
<div class="col-md-6">
<p>One Col</p>
</div>
</div>
Redactor JSON config:
{
buttons: ['html','formatting','bold','italic','unorderedlist','orderedlist','link','image','video'],
plugins: ['fullscreen'],
toolbarFixedBox: true,
replaceDivs: false
replaceDivs: false,
paragraphize: false,
removeEmpty: ['strong', 'em', 'span', 'p']
}
Any ideas how I can get it just to accept the HTML we enter without problems?