Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

Item1392: (IE only) Cursor jumps to beginning unintendedly in WYSIWYG-editor

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Extension TinyMCEPlugin Main.PaulHarvey
If you hover with your mouse over certain areas, the cursor is reset to the very first letter of the input field. That can be very annoying.

This problem occurs in the environments SEIBERT and WIN, but not in VM.

See this video for a demonstration.

Sample code


---+ Test
111111 11111111111111 11111111111111 11111111111111111 1111111111111111 111111111111111111 111111111111111111 11111111111111111 11111111111111111 11111111111111111 11111111111111 11111111111111111 111111 11111111111111 11111111111111 11111111111111111 1111111111111111 111111111111111111 111111111111111111 11111111111111111 11111111111111111 11111111111111111 11111111111111 11111111111111111

222222 22222222222222 22222222222222 22222222222222222 2222222222222222 222222222222222222 222222222222222222 22222222222222222 22222222222222222 22222222222222222 22222222222222 22222222222222222 222222 22222222222222 22222222222222 22222222222222222 2222222222222222 222222222222222222 222222222222222222 22222222222222222 22222222222222222 22222222222222222 22222222222222 22222222222222222

333333 33333333333333 33333333333333 33333333333333333 3333333333333333 333333333333333333 333333333333333333 33333333333333333 33333333333333333 33333333333333333 33333333333333 33333333333333333 333333 33333333333333 33333333333333 33333333333333333 3333333333333333 333333333333333333 333333333333333333 33333333333333333 33333333333333333 33333333333333333 33333333333333 33333333333333333

Information about the tested instances and browser

Testing environments:

Browser:


This is unrelated to the plugin. It is a problem with either Tiny MCE or the browser. Recommend you take it up with either the Tiny MCE developers, or the browser manufacturer (or both).

-- CrawfordCurrie - 31 Mar 2009

Later; having viewed the video at last, it looks like this is related either to the browser or to the skin.

Later again; confirmed that this is unique to IE.

-- CrawfordCurrie - 04 Apr 2009

It works fine in IE6. So it's just related to IE7 and maybe above. Damn IE.

-- SvenHess - 23 Jul 2009

This cursor jumping business can happen when TinyMCE loses track of the cursor. Although the browser knows where its cursor is, the DOM API is so infuriatingly quirky that sometimes you don't get sensible selection ranges and so TinyMCE has no choice but to force the cursor to somewhere it can get its bearings back again.

But I've only seen this in the code that handles inserting new paragraphs/enter key.

Can you please confirm that this bug is still present for IE7 on a default skin? I cannot replicate with IE8 or IE6 (and my IE7 is broken).

-- PaulHarvey - 21 Oct 2009

Confirmed in IE7, with and without forced_root_block: false. IE8 has no problem.

Next steps:
  • Recreate in a minimal TinyMCE configuration (test.html)
  • Submit test case upstream to TinyMCE project.

-- PaulHarvey - 05 Nov 2009

Confirmed once again on IE7 with TinyMCE 3.2.7

Happily, this seems to fixed in IE7 with TinyMCE 3.3.7 smile

-- PaulHarvey - 25 Jun 2010

ItemTemplate edit

Summary (IE only) Cursor jumps to beginning unintendedly in WYSIWYG-editor
ReportedBy MartinSeibert
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component TinyMCEPlugin
Priority Normal
CurrentState Closed
WaitingFor PaulHarvey
Checkins
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r11 - 04 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License