Opened 8 years ago

Closed 7 years ago

#4817 closed Bug (fixed)

FCK Editor Jump IE8 BUG

Reported by: Roy Shoa Owned by:
Priority: Normal Milestone: CKEditor 3.3
Component: General Version: FCKeditor 2.6.5
Keywords: IE Confirmed Cc: noam@…, roys@…, royshoa@…, john.jackson@…, kevin@…

Description (last modified by Frederico Caldeira Knabben)

When i have a font tag that wrap alot of text and i like to edit the text in the middle it is put the pointer all the time on the start of the font tag.

If i have a scroller it is jump me up and i cannot edit the text. I test it on the newest version of CKEditor and it has not been fixed.

Example:

  1. Open IE8
  2. Paste this code on the source mode of FCK/CKEditor:
<font>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa <br>
</font>
  1. Scroll down and try to edit the text.

Change History (10)

comment:1 Changed 8 years ago by Frederico Caldeira Knabben

Description: modified (diff)
Keywords: IE added; IE8 Jump BUG IE8 SCROLL BUG IE8 FONT BUG removed
Priority: HighNormal

comment:2 Changed 8 years ago by Frederico Caldeira Knabben

Keywords: Confirmed added
Milestone: CKEditor 3.3

I'm able to put the cursor in the desired position and edit it, but the scrollbar behaves strangely when doing so.

comment:3 in reply to:  2 Changed 8 years ago by Roy Shoa

Replying to fredck:

I'm able to put the cursor in the desired position and edit it, but the scrollbar behaves strangely when doing so.

You understand that it is a bug ? My customers cannot edit the text correctly in this way. What you suggest to do ?

comment:4 Changed 8 years ago by Choi Sung-hoon

It is IE8's bug.

workaround: http://grantovich.net/posts/2009/06/that-weird-ie8-textarea-bug/

Please take a look and see if it works. Cheers!

comment:5 in reply to:  4 Changed 8 years ago by Alfonso Martínez de Lizarrondo

Replying to shoon:

It is IE8's bug.

workaround: http://grantovich.net/posts/2009/06/that-weird-ie8-textarea-bug/

Please take a look and see if it works. Cheers!

That post is for problems with textareas, this would need another solution because the problem exists while editing a document. The interesting part is that the bug exists only if the content has a <font> around it. If it's a <p> with nothing else then the document doesn't scroll.

You can test putting the content in this simple document:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
	"http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title></title>
		<script type="text/javascript">
	window.onload = function()
	{
		document.body.contentEditable = true ;
	}
		</script>
	</head>
	<body>
<p>place content here...</p>
	</body>
</html>

comment:6 Changed 8 years ago by Pilot7

This same problem occurs anytime in IE 8, even when the copy is surrounded by simple <p> tags. Using IE 8, paste a lots of text that requires scrolling into a version 3.02 editor window, then try to scroll to the bottom and type something when in IE8. The editor will jerk around when you try to place the cursor after scrolling.

This is currently a *huge* problem for my customers because most of the blocks they edit require scrolling.

comment:7 Changed 8 years ago by John Jackson

Cc: john.jackson@… added

Also seeing a very similar (maybe same) issue. With quite a lot of text (maybe 10+ paragraphs), after scrolling down, it's difficult to place the cursor and sometimes almost impossible, the editor window just jumps back up to the top.

comment:8 Changed 8 years ago by Kevin Williams

Cc: kevin@… added

comment:9 Changed 8 years ago by Alfonso Martínez de Lizarrondo

#5106 has been marked as dup

comment:10 Changed 7 years ago by Garry Yao

Resolution: fixed
Status: newclosed

Duplicate of #4762.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy