set default properties to event
support textarea #1