Ticket #138 (assigned enhancement)

Opened 22 months ago

Last modified 5 months ago

onchange or isdirty functionality

Reported by: weswinham Owned by: mr_lundis
Priority: major Milestone: 2.0
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 22 months ago by jf.hovinne

  • status changed from new to assigned
  • milestone set to 0.6

Changed 5 months ago by mr_lundis

  • owner changed from jf.hovinne to mr_lundis
  • status changed from assigned to new

Changed 5 months ago by mr_lundis

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