Closed Bug 528947 Opened 15 years ago Closed 14 years ago

add an onchange event

Categories

(Skywriter Graveyard :: Editor, defect, P1)

x86
macOS

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 545208

People

(Reporter: dangoor, Assigned: pcwalton)

References

Details

From renspr (René), author of BespinOnRails, on the mailing list:

<script>
window.onBespinLoad = function() {
   console.log("this is called when Bespin is loaded");
   bespin = document.getElementById("editor").bespin;
   bespin.onchange(function() {
     alert("foo");
   });
};
</script>

Apparently, this used to work. We need to look into providing and documenting such an event again.
Severity: normal → major
Target Milestone: --- → 0.7.1
Along these lines, we also need oninput.
Assignee: nobody → pwalton
Priority: -- → P1
Target Milestone: 0.7.1 → 0.7.0
Target Milestone: 0.7.0 → 0.7.2
Julian is implementing an ontextchange event in addition to some other API 
improvements.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
removing milestone as this is marked as a duplicate
Target Milestone: 0.7.2 → ---
You need to log in before you can comment on or make changes to this bug.