Removes the specified event handler that was registered earlier with the attachEvent method.
editor.detachEvent(eventName,eventHandler)
Type: String
specifies the name of the event that is listened by the event handler.
Type: function
Reference to the event handler function to remove.