onReady: Callbacks for when the editor is ready