[BUGFIX] RTE: Tab key in Chrome inserts weird SPAN tags 58/20058/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 23:16:35 +0000 (01:16 +0200)
commit780e7ddd8f94639c3c8e22bd0f7620e666884fbb
treeb03e8fa35a04ef517f92f3cd6f5fa8f09264154c
parent61c5e9b727d8d6f69f730305e76caca1f48fe91d
[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: I7077d300b7e766a38a004c743dd85ef33645ec9a
Reviewed-on: https://review.typo3.org/20058
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js