StopEditing if ipad's virtual keyboard hide is clicked

In IPad if we are editing a textblock, a virtual keyboard shall popup. Is there a way to call stop editing on clicking the hide of virtual keyboard.

This is unusual behavior that you are asking for. The normal behavior outside of GoJS is to continue editing when the virtual keyboard disappears.

I do not know if there is any event that you can receive in JavaScript that would allow you to call TextEditingTool.acceptText. A web search found: How to capture the hide keyboard event on iOS using JavaScript - Stack Overflow

Thanks Walter. Shall check this