Bug #70844
closedRTE link wizard: Classes cannot be changed in other than default tab
0%
Description
Example snippets
TSConfig
RTE { default { contentCSS = fileadmin/rte.css proc.allowedClasses = new-link-class buttons { link.properties.class.allowedClasses = new-link-class } } }
rte.css
a.new-link-class { color: blue; }
I wanted to change the classes that are available for links within the RTE. In the RTE textbox itself, this works - but not entirely for the link wizard: It works on the first tab that is opened (see Attachment #2). After goingfor example to the tab "Mail", the classes are set back to default (Attachment #3). When I go back to the "Page" tab now (where it worked on opening), then there are the default classes now, too (Attachment #5).
When I set now the link as a mail with the shown default class and clicking then on the generated link in the RTE text box, there is the "Unknown text style" and my custom class (Attachment #6).
I tested this config in TYPO3 6.2.15 (Attachment #1), there it works as expected (for the entire link wizard, too (yes, also after changing the tab)).
Files
Updated by Riccardo De Contardi over 7 years ago
- Status changed from New to Closed
This issue seems solved for RTEHtmlArea on 7.6.18 therefore I close it.
Test performed:
1) add to home page TSConfig the code provided in the issue description
2) create a text & media CE
3) add a link
4) page tab > the class "new-link-class" is available
5) switch to every other tabs (file, folder, external url, email) > the class is kept in the dropdown
If you think that this is the wrong decision or experience the issue again or have more information about how to reproduce it, please reopen it or open a new issue with a reference to this one.