Feature #21572
closedStrikethrough is not allowed in RTE 2.0.3
0%
Description
Using TYPO3 4.4.2 and rtehtmlarea 2.0.3 I am not allowed to use the strikethrough element .
Trying to the RTE inserts a <s>lorem</s> but not saving it
I have done no configuration of the RTE - factory configuration
(issue imported from #M15381)
Updated by Stanislas Rolland about 14 years ago
If you use the Typical default configuration settings, then the button is not in the toolbar and the strike tag is removed. This is because the strike tag is deprecated. If you add the button to the toolbar, you should also remove the tag from the list:
RTE.default.proc.entryHTMLparser_db.removeTags := removeFromList(strike)
If you use the Demo default configuration settings, then the button is in the toolbar and the strike tag is saved.
Updated by Claus Harup about 14 years ago
I chose the minimal conf og htmlarea and added strikethrough to RTE.default.showButtons and then it worked!!
But it stills uses <strike> which is deprecated?!?!?!
Updated by Stanislas Rolland about 14 years ago
Of course, the strikethrough button adds a strike tag which is deprecated. This is why it is disabled by default.
You could use the "del" inline element. To use "del", you need to enable the "Additional inline elements" feature in Extension Manager. However, the behaviour of these buttons is a little different. See the manual.
Updated by Stanislas Rolland almost 14 years ago
I don't think there is anything to fix here.
Closing the issue.