changed isText (as isClickEvent)