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
- Forum
- JCE Editor
- Filtering tag attributes on article save does not work correctly
Support is currently Online
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Hello Ryan,
enclosed a profile, which has forbidden tags and attributes configured, but these won’t be cleared while saving.
This manipulation can be done by Firefox HTML-Inspector and is shown by the editor before saving.
Example:
Ich verwende ein custom filed vom Typ editor, mit der Filtereinstellung safe HTML, und öffne den Beitrag zur Bearbeitung mit einem Benutzer aus der Gruppe Editor welcher mit dem beigefügten Profil verknüft ist. Die Filtereinstellung Plugin-Einstellung funktioniert garnicht.
Create a custom field from type editor with filteroption safe HTML. Open an article to edit it as an user who belongs to the group editor and connect him with my profile. By the way, filteroption use settings from plugin doesn't work at all.
Attribute style is now forbidden in this case and I’m editing it now with FF-Inspector and create an allowed tag like this:
This is displayed and formatted correctly by the editor, but I expected that this style attribute and its value would be removed before saving. But it doesn’t.
The attribute gets removed after I start editing the article again but it doesn’t get cleared completely.
Parts of value will now be shown as attribute like this:
How do I configure this correctly in profile or is it a bug?
Regards
enclosed a profile, which has forbidden tags and attributes configured, but these won’t be cleared while saving.
This manipulation can be done by Firefox HTML-Inspector and is shown by the editor before saving.
Example:
Ich verwende ein custom filed vom Typ editor, mit der Filtereinstellung safe HTML, und öffne den Beitrag zur Bearbeitung mit einem Benutzer aus der Gruppe Editor welcher mit dem beigefügten Profil verknüft ist. Die Filtereinstellung Plugin-Einstellung funktioniert garnicht.
Create a custom field from type editor with filteroption safe HTML. Open an article to edit it as an user who belongs to the group editor and connect him with my profile. By the way, filteroption use settings from plugin doesn't work at all.
Attribute style is now forbidden in this case and I’m editing it now with FF-Inspector and create an allowed tag like this:
<p style="text-align: right;">Lorem ipsum...</p>
This is displayed and formatted correctly by the editor, but I expected that this style attribute and its value would be removed before saving. But it doesn’t.
The attribute gets removed after I start editing the article again but it doesn’t get cleared completely.
Parts of value will now be shown as attribute like this:
<p text-align:="">Test</p>
How do I configure this correctly in profile or is it a bug?
Regards
As you already have "style" in the Prohibited Attributes field, you do not need the regular expression value you have added to the Prohibited Attribute Values field.
You can also alter the event expression so that it is just on([a-z]+)
You can also alter the event expression so that it is just on([a-z]+)
Just because you're not paranoid doesn't mean everybody isn't out to get you.
more than a month ago
·
#100554
We already done this, but the problem still exists.
We hope You will finde a solution soon.
We hope You will finde a solution soon.
This has been fixed in JCE Pro 2.7.15 - https://www.joomlacontenteditor.net/downloads/editor/pro/latest
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!