Feature #18931
closed
Change labels of formatblock items
Added by Andreas Wagner about 16 years ago.
Updated over 5 years ago.
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
Hm, this is supposed to have Severity = feature and Reproducibility = always. Would be great if someone could change this.
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.
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.
Committed to SVN TYPO3core trunk revision 4050.
- Status changed from Resolved to Closed
Also available in: Atom
PDF