Skip to content
This repository was archived by the owner on Dec 17, 2019. It is now read-only.
This repository was archived by the owner on Dec 17, 2019. It is now read-only.

[v12.0] Help Page content : accordion snippet looses animation after saving #102

@oBeeOne

Description

@oBeeOne

Hi,
First, thanks for this module, very nice work.

I'm having a problem though. I'm trying to create a FAQ page and I want to use accordion snippet inside that page.
The issue is that when I save the page after editing, the accordion looses all dynamic functionnalities.
Thus, all tabs don't extend or collapse anymore. Seems like the save process removes some attributes inside html tags like "role" or "aria-toggle".
Here is a copy of the hmtl block added with the snippet

<div id="myCollapse" class="accordion" role="tablist"> <div class="card bg-white"> <a href="#" role="tab" data-toggle="collapse" aria-expanded="true" class="card-header o_default_snippet_text" data-parent="#myCollapse" data-target="#myCollapseTab1575379895585">Conditions d'utilisation</a> <div class="collapse show" role="tabpanel" id="myCollapseTab1575379895585">[...]

And here is my page after saving

<div id="myCollapse" class="accordion"><div class="card bg-white"><a href="#" class="card-header collapsed" title=""><b title="">Accéder à mon espace</b></a><div class="collapse" id="myCollapseTab1575297850054" style=""><div class="card-body">[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions