Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selection is lost when button is clicked in Safari 1.3



Using onMouseDown instead of onClick allows you to get the event and call the appropriate execCommand value before the selection is lost.

-Mark
On May 13, 2005, at 2:44 PM, email@hidden wrote:

It seems that when there is some text selected in a contentEditable
area and a button is pressed, the selection is lost to any onclick
event handler, making it quite difficult to support Safari in any
wysiwyg html editor. Is this a known bug?

Would appreciate any confirmation and/or workaround.
_______________________________________________
Webcore-dev mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/webcore-dev

End of Webcore-dev Digest, Vol 2, Issue 29
******************************************

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webcore-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webcore-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.