[Webkit-unassigned] [Bug 25607] Need a way to catch (and cancel?) any execCommand. Maybe document.onexeccommand = ?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 2 03:09:03 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=25607





--- Comment #6 from Alexey Proskuryakov <ap at webkit.org>  2010-08-02 03:09:03 PST ---
The hardest part here would be to specify the feature in a way that can be explained to developers, or implemented by other browsers. There are many ways to perform an action, and actions are different between platforms.

As just one example, invoking a service in Mac OS X is very much like making a copy. Should document.commands.copy affect what text Mac OS X services see, or even cancel them?

Another example: text can be made bold by "paste style" command (we don't have it in Safari, but other apps that use WebKit may have it), or programmatically by an input method. Should document.commands.bold catch that?

It would be a very poor web app UI if it could do magic for Cmd+B and "Bold" item in application menu, but fail on trickier ways to do the same.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list