[BUGFIX] RTE: Tab key in Chrome inserts weird SPAN tags 60/20060/2
authorStanislas Rolland <typo3@sjbr.ca>
Sun, 21 Apr 2013 22:56:58 +0000 (18:56 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Mon, 22 Apr 2013 01:08:25 +0000 (03:08 +0200)
commitd172ba7ae853beb8bfeafb045306b3a69d1e1c76
treed5c9d84692a12f01693f580da194b8f09be2b959
parent5665f22aa63f516850e051133dc11c16bc3d277b
[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: Ie35ed75f6f3a625cbc3e856c2e9a44b3838e587e
Reviewed-on: https://review.typo3.org/20060
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js