Closed Bug 811792 Opened 7 years ago Closed 7 years ago

Make nsIEditor::setEditorObserver scriptable and allow Undo/Redo listeners on nsIEditActionListener

Categories

(Core :: DOM: Editor, enhancement)

enhancement
Not set

Tracking

()

RESOLVED WONTFIX

People

(Reporter: glazou, Unassigned)

Details

Because of bug 785091, it's not possible any more to observe Undo or Redo
actions from chrome JS. But BlueGriffon really needs it so it's suggested
to

1. add DidUndo() and DidRedo() (and possibly stuff related to IME, see
   callers to nsIEditor::NotifyObservers()) to nsIEditActionListener

2. tweak nsIEditor::setEditorObserver() to use an nsIEditActionListener
   instead of an EditActionListener

3. modify callers of nsIEditor::NotifyObservers() to match the above
This is not worth it, really...  Let's just add nsIEditorObserver back.  :(
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.