[BUGFIX] Automatic scrolling of editing form when inserting paragraph 94/37894/4
authorStanislas Rolland <typo3@sjbr.ca>
Mon, 16 Mar 2015 20:38:55 +0000 (16:38 -0400)
committerAndreas Fernandez <andreas.fernandez@aspedia.de>
Fri, 10 Apr 2015 07:15:18 +0000 (09:15 +0200)
commitd03c59b72471f2b469d86a73fead1df80b9a534b
treef15280852f1d9922f719321ab40ccb6fd20632ea
parent0500220abbe6f955d7a5351b7b82dbaf818a7c57
[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/37894
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Editor.js