Hello, I have an issue with Prohibited Attributes cleanup in JCE.
In Editor Profiles → Editor Parameters → Advanced → Prohibited Attributes I am using:
dynsrc,lowsrc,data-(start|end),class - I also tried "data-start,data-end" , "data\-start,data\-end" , "data/-start,data/-end"
Cleanup HTML is enabled.
Problem:
Prohibited attributes are not removed in one step. They are removed only when switching between Editor and Code tabs, and only one attribute is removed per switch. To remove all attributes, I must switch tabs multiple times.
This happens when multiple prohibited attributes are on the same element.
Example HTML:
<p class="test" data-start="1" data-end="2">Test</p>
After one Editor/Code switch, only one attribute is removed. After multiple switches, all attributes are eventually removed.
Expected behavior:
All prohibited attributes should be removed in a single cleanup pass.
Environment:
Joomla: 4.4.14
JCE: 2.9.94
Browser: firefox
