This example allows you to see when the initialized and destroy events are triggered. Open the browser console to follow the events.
You can destroy and initialize the editor again to see the events being triggered.