You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#117502 data-start and data-end cleanup, issue with Prohibited Attributes cleanup in JCE

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Tuesday, 23 December 2025 08:13 GMT

machnik

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

Ryan

Please try JCE Pro 2.9.98 Beta - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Clear your browser cache after install.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.