Dan Brockway
The Problem: Using the front-end editor destroys my accordions tags. They seem to be replaced with a bunch of <div> tags, but the {accordions} directives are gone and if I saved, the functionality would be gone too.
My test content:
{accordion title="Title One"}
Some random text
{accordion title="Title Two"}
More random text
{accordion title="Title Three"}
Even more random text
{/accordions}
What shows up in the editor:
<p><!-- START: Tabs --></p>
<div data-rlta-element="container" data-rlta-state="loading" data-rlta-id="1" data-rlta-type="accordions" data-rlta-title-tag="h3" data-rlta-orientation="horizontal" data-rlta-wrap-buttons="false" data-rlta-remember-active="false" data-rlta-theme="colorful" data-rlta-dynamic-heights="false" data-rlta-color-panels="false">
<div id="rlta-title-one" aria-controls="rlta-panel-title-one" aria-expanded="true" data-rlta-element="button" data-rlta-state="open" data-rlta-alias="title-one" tabindex="0">
<h3 data-rlta-element="heading">Title One</h3>
</div>
<div id="rlta-panel-title-one" aria-labelledby="rlta-title-one" data-rlta-element="panel" data-rlta-state="open" data-rlta-color="false" tabindex="-1">
<div data-rlta-element="panel-content"></div>
</div>
</div>
<p>Some random text</p>
<div id="rlta-title-two" aria-controls="rlta-panel-title-two" aria-expanded="false" data-rlta-element="button" data-rlta-state="closed" data-rlta-alias="title-two" tabindex="0">
<h3 data-rlta-element="heading">Title Two</h3>
</div>
<p>More random text</p>
<div id="rlta-title-three" aria-controls="rlta-panel-title-three" aria-expanded="false" data-rlta-element="button" data-rlta-state="closed" data-rlta-alias="title-three" tabindex="0">
<h3 data-rlta-element="heading">Title Three</h3>
</div>
<p>Even more random text</p>
<p><!-- END: Tabs --></p>