Ticket #138 (assigned enhancement)

Opened 4 years ago

Last modified 2 years 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

comment:1 Changed 4 years ago by jf.hovinne

  • Status changed from new to assigned
  • Milestone set to 0.6

comment:2 Changed 2 years ago by mr_lundis

  • Owner changed from jf.hovinne to mr_lundis
  • Status changed from assigned to new

comment:3 Changed 2 years ago by mr_lundis

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