I have a page with certain html markup and element attributes as shown in the snippit below:
<ul class="accordion" data-accordion="">
When I edit the page as a user with the WP Administrator Role the
<ul> remains intact upon page update. Perfect.
Yet when a user with WP Editor Role edits the page, the ul tag saves as follows:
Notice the data-accordion attribute is removed.
How can I get WordPress to retain markup tag attributes for users with the Editor role?