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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 6 22:27:06 PDT 2009


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

           Summary: Need a way to catch (and cancel?) any execCommand.
                    Maybe document.onexeccommand = ?
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
                CC: jparent at google.com, ojan at chromium.org
 BugsThisDependsOn: 25604,25606


Need a way to catch (and cancel?) any execCommand.  Maybe
document.onexeccommand = ?

One of the HTML editing teams here @ Google is looking for a way to catch any
exec command before execution.  They may not actually need a hook that broad,
but they have a number of use cases to support this need:

Ability to catch bold, italic, undo, redo are 4 examples which come to mind.

In general they need to catch all DOM modifications before they happen so that
they can update the JS editing library's internal state.  Ideally they want to
cancel these dom modifications as well.  Having a hook for onexeccommand would
bring them close to this working.


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



More information about the webkit-unassigned mailing list