Ticket #138 (assigned enhancement)

Opened 17 months ago

Last modified 16 months ago

onchange or isdirty functionality

Reported by: weswinham Owned by: jf.hovinne
Priority: major Milestone: 0.6
Component: Editor Version: trunk
Keywords: Cc:

Description

I'm looking to implement an auto-save style bit of functionality to my editor. The problem I'm having is that I can't figure a simple way to tell if the content of the editor have changed through any other method than checking the calling update() and checking the new contents versus the old (which is way more computationally expensive than it needs to be, especially on long documents). A simple variable/function that keeps track of whether or not there have been any changes to the editor since the last update() would be very helpful.

TinyMCE calls this isDirty and I believe it will help solve the issues that these people are running in to also. It's not as elegant as a real onchange event, but it's effective for use in polling for changes.

Change History

Changed 16 months ago by jf.hovinne

  • status changed from new to assigned
  • milestone set to 0.6
Note: See TracTickets for help on using tickets.