Check what type of editor window is being opened in ticket detail page

I’m encountering some issue for checking if the editor window is open or not in ticket detailed page.

I check the interface method, I know I can open a reply/forward/note editor window and insert text. But is there a way to know what type of the editor is being opened by the user?

Thanks.