This example demonstrates how to keep two editors synchronized by listening for the onPatch event. Other related events are onChange and onChangeText.
onPatch
onChange
onChangeText