This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalize the the special handling of HR tags in
goog.editor.range.placeCursorNextTo() to better handle IMG tags and other no-child-allowed Element nodes. This logic now takes effect for all browsers, rather than just IE/IE9. The the original behavior caused scrolling issues when inserting images or emoji in gmail, on IE. Also change (for IE) the order in which we set focus and restore the cursor in abstractDialogPlugin. This fixes the scroll-to-the-top-after-insert behavior on IE, as this new set of calls doesn't spoil the restoration of the proper scroll position. R=nicksantos DELTA=209 (167 added, 18 deleted, 24 changed) Revision created by MOE tool push_codebase. MOE_MIGRATION=6062 git-svn-id: http://closure-library.googlecode.com/svn/trunk@2407 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
- Loading branch information
jamisong@google.com
committed
Jan 2, 2013
1 parent
e7cafff
commit 4014e57
Showing
7 changed files
with
183 additions
and
39 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters