Actions
Bug #18516
closedheadListTags in class.t3lib_parsehtml_proc.php are hardcoded
Start date:
2008-03-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
the headListTags are hardcoded:
// Static:
var $headListTags = 'PRE,UL,OL,H1,H2,H3,H4,H5,H6,HR,ADDRESS,DL,DD'; // List of tags for these elements
There is no way to add/remove elements to this list.
With the attached patch it is possible to do that.
Condition: the list should be defined in basic setup of rte, like
RTE.default.proc.headListTags = PRE,UL,OL,H1,H2,H3,H4,H5,H6,HR,ADDRESS,DL,DD
Then this syntax is useful to add a single element:
RTE.default.proc.headListTags := addToList(CODE)
(issue imported from #M7961)
Files
Actions