support text plugin for define