Opened 8 years ago

Closed 8 years ago

#13246 closed defect (wontfix)

Characters are highlighted when right click next to it on firefox

Reported by: hengly Owned by:
Priority: high Milestone: tbd
Component: Editor Version: 1.6.1
Keywords: dojo, editor, highlight, right click Cc:
Blocked By: Blocking:

Description

Steps: 1.Visiting the http://demos.dojotoolkit.org/demos/editor/ 2.Type some words 3.Right click after typing Expected: The characters should not highlighted when right click next to it

Actual: The characters are highlighted when right click next to it on firefox

Note:

Windows xp/windows 7 ,firefox 3.6 ,4.0 can present the issue.

Attachments (1)

testPTag.html (183 bytes) - added by Jared Jurkiewicz 8 years ago.
Tets file showing native browser issue (no dojo)

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by Jared Jurkiewicz

Attachment: testPTag.html added

Tets file showing native browser issue (no dojo)

comment:1 Changed 8 years ago by Jared Jurkiewicz

Resolution: wontfix
Status: newclosed

This is an issue with the browser itself, for any content editables. Apparently right-clicking on the edge of a P tag causes it to select the entire P tag. There is nothing Dojo can do to stop this realistically, as halting any events would kill native context menus. I suppose it would be possible to collapse the selection, but you would still see it flicker, which doesn't really help.

I suggest you raise a bug with FireFox? on this issue. Other editors, such as CKEditor and TinyMCE, demonstrate the same behavior.

Note: See TracTickets for help on using tickets.