alexgorbatchev/jquery-textext — pull request #26 by wilmoore (2012-02-22 09:27:11+00:00)
Title: FEATURE: Addition of a 'tagChange' event

Event is fired after tags have been added and after tags have been removed.

- EVENT_TAG_CHANGE addition
- trigger EVENT_TAG_CHANGE from 'addTags' and 'removeTag' methods
- addition of "suppressEvents' parameter in 'addTags' and 'removeTag' methods

Example:

$('textarea').textext({...}).bind('tagChange', function(e, context) {
console.log(context.is, context.result)
console.log(context.is, context.diff)
})