Textbox.io 2.x Documentation : editor.content.setDirty()

Explicitly set the content dirty state.

Parameters

BoolSet the content dirty state with a boolean value

Returns

No return value.

Example:

setDirty example
// Set isDirty to false
editor.content.setDirty(false);