[BUGFIX] RTE: Tab key in Chrome inserts weird SPAN tags 57/20057/2
authorStanislas Rolland <typo3@sjbr.ca>
Sun, 21 Apr 2013 22:56:58 +0000 (18:56 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Sun, 21 Apr 2013 22:58:49 +0000 (00:58 +0200)
commitdb54371c4fac44b1bc8f1cdac4d302339019e276
treebcdec8c8133345b3162c89784751ed5c60e24200
parent003b82783cc02e0794b60efecff1284a6688ab5b
[BUGFIX] RTE: Tab key in Chrome inserts weird SPAN tags

Problem: The problem arises when indent/outdent buttons are not
configured in toolbar. Default WebKit action inserts span tag with
special class.

Solution: Stop the event and avoid the default action: do nothing.

Fixes: #47274
Releases: 4.5, 4.7, 6.0, 6.1
Change-Id: I2d86d8ace31459dd85f122d56ec5102e6ead1112
Reviewed-on: https://review.typo3.org/20057
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js