?
Referenced as Pull Request for: # 11022
avatar designbengel
designbengel
4 Jul 2016

Steps to reproduce the issue

Settings:
1) Superadmin "No Filter"
2) TinyMCE - Joomla! Textfilter Settings: YES

Try to add <span class="fa fa-phone fa-3x sr-contact“></span> <p>123-456-6789</p>
 in a module.

Expected result

The code should be accepted.

Actual result

The code is stripped out.

Steps to reproduce the issue

Settings:
1) TinyMCE - Joomla! Textfilter Settings: NO
Allowed elements: class, span

Try to add <span class="fa fa-phone fa-3x sr-contact“></span> <p>123-456-6789</p>
 in a module.

Expected result

The code should be accepted.

Actual result

The code is stripped out.

avatar designbengel designbengel - open - 4 Jul 2016
avatar designbengel designbengel - change - 4 Jul 2016
The description was changed
avatar designbengel designbengel - change - 4 Jul 2016
The description was changed
avatar bembelimen
bembelimen - comment - 4 Jul 2016

For 1:
see #11022
For 2:
to prevent the TinyMCE to filter attributes, you have to add the attributes in the "valid elements" box like:

span[class]

avatar brianteeman brianteeman - change - 4 Jul 2016
Labels Added: ?
avatar brianteeman
brianteeman - comment - 4 Jul 2016

Closing as we have a PR #11022

avatar brianteeman brianteeman - close - 4 Jul 2016
avatar brianteeman brianteeman - change - 4 Jul 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-07-04 14:17:22
Closed_By brianteeman

Add a Comment

Login with GitHub to post a comment