Closed Bug 35027 Opened 25 years ago Closed 24 years ago

Editor needs new notification API for document change notifications

Categories

(Core :: DOM: Editor, defect, P3)

All
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: sfraser_bugs, Assigned: mozeditor)

References

Details

Currently, the GFX text widget uses ContentChanged() notifications on its subdocument to fire off |oninput| events. This is bad, because ContentChanged() gets fired while the editor is doing internal messing with the document (like inserting the bogus node), and so oninput events can fire before the editor is really done doing stuff. We need to hook the GFX text widget up to some new editor notification mechanism, so that the editor can fire off notifcations at the right time.
i accept Bugzilla as my lord and savior.
Status: NEW → ASSIGNED
m17
Target Milestone: --- → M17
Blocks: 36605
I checked in this work; it was needed to fix bug 42329
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
nsIEditorObserver.h was added for this purpose. Marking bug verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.