use allowText instead of mixed