Issue Bug Closed

#70844RTE link wizard: Classes cannot be changed in other than default tab

Tim Wehrmann 10/19/15, 15:00 updated 05/18/17, 15:40

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)).

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.