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

fix spelling:
nubmer -> number

R=arv
DELTA=1 (0 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6063


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2408 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Automated g4 rollback

*** Reason for rollback ***

I can consistently make IE8 segfault after this change

*** Original change description ***

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

... description truncated by g4 rollback ...

DELTA=209 (18 added, 167 deleted, 24 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6064


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2409 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Adds log console setter.

R=nnaze
DELTA=23 (22 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6065


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2410 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Add a goog.editor.node.replaceInnerHtml, which detaches children
before setting innerHTML

R=jamisong
DELTA=40 (28 added, 0 deleted, 12 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6066


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2411 0b95b8e8-c90f-11de-9d4f-f947ee5921c8