Bug #25852

rtehtmlarea ignores attributes with "-" (like in the HTML5 data attributes)

Added by Christian Eßl almost 9 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Content Rendering
Target version:
Start date:
2011-04-08
Due date:
% Done:

0%

TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The RTE (rtehtmlarea) is correctly configured to take over own html attributes in the link-element.
But when I try to take an attribute with a "-" in it, it will automatically get removed from the element.

For example:
"data-role" will not be taken over.
"datarole" will be taken over.

In HTML5 it is common to use "-"-Lines for data-attributes.


Related issues

Duplicates TYPO3 Core - Bug #34371: Custom HTML5 attributes loose their hyphens when rendered in frontend Closed 2012-02-28

History

#1 Updated by Susanne Moog almost 9 years ago

  • Category set to RTE (rtehtmlarea + ckeditor)

#2 Updated by Stanislas Rolland over 8 years ago

  • Status changed from New to Needs Feedback

I can't find any problem using a data attribute as additional attribute on links. Please explain what you did and what problem you encountered.

#3 Updated by Stanislas Rolland almost 8 years ago

In what browser do you encounter this issue?

#4 Updated by Stanislas Rolland almost 8 years ago

This was a frontend rendering issue. See #34371.

#5 Updated by Stanislas Rolland almost 8 years ago

  • Category changed from RTE (rtehtmlarea + ckeditor) to Content Rendering
  • Status changed from Needs Feedback to Resolved
  • Target version set to 4.5.13
  • PHP Version set to 5.3

#6 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF