These are functions called from editor on certain events. Return value (if any) is ignored. If the callback function does not exist, it is skipped
This function is called after active revision of document is changed