Feature #18931
closedChange labels of formatblock items
0%
Description
It's currently not possible to change the labels (Paragraph, Heading 1 and so fourth) of the formatblock drop down. It would be nice to have this possibility through pageTS.
(issue imported from #M8668)
Files
Updated by Andreas Wagner over 16 years ago
Hm, this is supposed to have Severity = feature and Reproducibility = always. Would be great if someone could change this.
Updated by Andreas Wagner over 16 years ago
The attached patch adds this feature by adding the page TSconfig property buttons.formatblock.items.[item-name].label
I am not exactly sure what $this->htmlAreaRTE->getPageConfigLabel() does, but it seems right to get the label through this function from looking at the function name. And this is how the label is fetched in buildJSClassesArray() for example.
Updated by Stanislas Rolland about 16 years ago
Thanks for the patch. I modified it slightly.
getPageConfigLabel() gets the label from PageTSConfig which may be a simple string, but may also be of the form LLL:EXT:[fileref]:[labelkey], in other words may be a reference to an entry in a xml localization file.
Updated by Stanislas Rolland about 16 years ago
Committed to SVN TYPO3core trunk revision 4050.