Textbox.io 2.x Documentation : editor.events.change

The change event is triggered when the editor content changes as defined by when an undo save point is created. These points are throttled to happen a few seconds after the user has stopped typing, or when the enter key is pressed.

This API was introduced in Textbox.io release 2.3.0


editor.events.change.addListener()Binds a function to an editor instance's change event.
editor.events.change.removeListener()Removes a function from an editor instance's change event.
editor.events.change.addListener(function () {
	// do something
	console.log('The editor content has changed')