[BUGFIX] Automatic scrolling of editing form when inserting paragraph 95/37895/5
authorAndreas Fernandez <andreas.fernandez@aspedia.de>
Fri, 10 Apr 2015 07:19:32 +0000 (09:19 +0200)
committerAndreas Fernandez <andreas.fernandez@aspedia.de>
Fri, 10 Apr 2015 07:21:54 +0000 (09:21 +0200)
commite40001859a582b55dc2f2afd500552e09cb99ea3
tree6287c9bbe3c0b4285db8dbbc88e13a4ca8946f5a
parentc58ba3e41f6e54465a792d433a3247deb64f2cfe
[BUGFIX] Automatic scrolling of editing form when inserting paragraph

Problem: Entering a new paragraph leads to automatic scrolling of the
editing form in the backend if the cursor is positioned in the last
line of the visible editing area of the RTE.
Solution: Scroll only the iframe window if the caret is not into view.

Releases: master, 6.2
Resolves: #22167
Change-Id: I731e95931ac303f7ab2d7e493ba87d9788a51251
Reviewed-on: http://review.typo3.org/37895
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js