Ticket #4817 (closed Bug: fixed)

Opened 4 years ago

Last modified 4 years ago

FCK Editor Jump IE8 BUG

Reported by: royshoa 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 fredck) (diff)

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

comment:1 Changed 4 years ago by fredck

  • Keywords IE added; IE8 Jump BUG, IE8 SCROLL BUG, IE8 FONT BUG removed
  • Priority changed from High to Normal
  • Description modified (diff)

comment:2 follow-up: ↓ 3 Changed 4 years ago by fredck

  • Keywords Confirmed added
  • Milestone set to 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 4 years ago by royshoa

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 follow-up: ↓ 5 Changed 4 years ago by 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!

comment:5 in reply to: ↑ 4 Changed 4 years ago by alfonsoml

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 4 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 4 years ago by flgtechnology

  • 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 4 years ago by kevinw

  • Cc kevin@… added

comment:9 Changed 4 years ago by alfonsoml

#5106 has been marked as dup

comment:10 Changed 4 years ago by garry.yao

  • Status changed from new to closed
  • Resolution set to fixed

Duplicate of #4762.

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