Project

General

Profile

Actions

Feature #21572

closed

Strikethrough is not allowed in RTE 2.0.3

Added by Claus Harup over 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-08-06
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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)

Actions #1

Updated by Stanislas Rolland over 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.

Actions #2

Updated by Stanislas Rolland about 14 years ago

Is this still an issue?

Actions #3

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?!?!?!

Actions #4

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.

Actions #5

Updated by Stanislas Rolland almost 14 years ago

I don't think there is anything to fix here.

Closing the issue.

Actions

Also available in: Atom PDF